[Pkg-owncloud-commits] [owncloud] 108/273: specify no attribute for group exists check, as done with users

David Prévot taffit at moszumanska.debian.org
Fri Jul 4 03:13:04 UTC 2014


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

taffit pushed a commit to branch master
in repository owncloud.

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

    specify no attribute for group exists check, as done with users
---
 apps/user_ldap/group_ldap.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/user_ldap/group_ldap.php b/apps/user_ldap/group_ldap.php
index 4051b1d..af41bf6 100644
--- a/apps/user_ldap/group_ldap.php
+++ b/apps/user_ldap/group_ldap.php
@@ -469,7 +469,7 @@ class GROUP_LDAP extends BackendUtility implements \OCP\GroupInterface {
 		}
 
 		//if group really still exists, we will be able to read its objectclass
-		$objcs = $this->access->readAttribute($dn, 'objectclass');
+		$objcs = $this->access->readAttribute($dn, '');
 		if(!$objcs || empty($objcs)) {
 			$this->access->connection->writeToCache('groupExists'.$gid, false);
 			return false;

-- 
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