[Pkg-owncloud-commits] [owncloud] 09/21: remove unused vars; increase scrutinizer happiness

David Prévot taffit at moszumanska.debian.org
Sat Jun 28 18:44:56 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch 6.0
in repository owncloud.

commit 58d04d1772b8e16e7e8993e3941a18f5476c8acb
Author: Arthur Schiwon <blizzz at owncloud.com>
Date:   Thu Jun 12 13:21:25 2014 +0200

    remove unused vars; increase scrutinizer happiness
---
 apps/user_ldap/lib/wizard.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/apps/user_ldap/lib/wizard.php b/apps/user_ldap/lib/wizard.php
index b61e83b..27181f2 100644
--- a/apps/user_ldap/lib/wizard.php
+++ b/apps/user_ldap/lib/wizard.php
@@ -91,7 +91,6 @@ class Wizard extends LDAPUtility {
 	}
 
 	public function countGroups() {
-		$base = $this->configuration->ldapBase[0];
 		$filter = $this->configuration->ldapGroupFilter;
 
 		if(empty($filter)) {
@@ -116,7 +115,6 @@ class Wizard extends LDAPUtility {
 	}
 
 	public function countUsers() {
-		$base = $this->configuration->ldapBase[0];
 		$filter = $this->configuration->ldapUserFilter;
 
 		$usersTotal = $this->countEntries($filter, 'users');
@@ -277,6 +275,7 @@ class Wizard extends LDAPUtility {
 		$obclasses = array('posixGroup', 'group', 'zimbraDistributionList', 'groupOfNames');
 		$ldapAccess = $this->getAccess();
 
+		$filterParts = array();
 		foreach($obclasses as $obclass) {
 			$filterParts[] = 'objectclass='.$obclass;
 		}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list