summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-07-25 13:09:51 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-07-25 13:09:51 +0200
commit92f447ca50e8b35f34c8020f867664c25703bd2c (patch)
treed10d51b94e0a18774ddca3ced762fbd1db8ceb5a
parenta6c5309e16817745e10bcfd5af29b24be99b2ae1 (diff)
downloadnextcloud-server-92f447ca50e8b35f34c8020f867664c25703bd2c.tar.gz
nextcloud-server-92f447ca50e8b35f34c8020f867664c25703bd2c.zip
code style
-rw-r--r--apps/user_ldap/group_ldap.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/user_ldap/group_ldap.php b/apps/user_ldap/group_ldap.php
index 8f46a504f63..bc9c95ffe08 100644
--- a/apps/user_ldap/group_ldap.php
+++ b/apps/user_ldap/group_ldap.php
@@ -109,7 +109,8 @@ class GROUP_LDAP extends lib\Access implements \OCP\GroupInterface {
//uniqueMember takes DN, memberuid the uid, so we need to distinguish
if((strtolower($this->connection->ldapGroupMemberAssocAttr) == 'uniquemember')
- || (strtolower($this->connection->ldapGroupMemberAssocAttr) == 'member')) {
+ || (strtolower($this->connection->ldapGroupMemberAssocAttr) == 'member')
+ ) {
$uid = $userDN;
} else if(strtolower($this->connection->ldapGroupMemberAssocAttr) == 'memberuid') {
$result = $this->readAttribute($userDN, 'uid');
@@ -165,7 +166,7 @@ class GROUP_LDAP extends lib\Access implements \OCP\GroupInterface {
$result[] = $this->dn2username($ldap_users[0]);
continue;
} else {
- if($ocname = $this->dn2username($member)){
+ if($ocname = $this->dn2username($member)) {
$result[] = $ocname;
}
}