Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2016-03-21 18:56:08 +0300
committerVincent Petry <pvince81@owncloud.com>2016-06-01 17:28:02 +0300
commit087f005936ff5acfa58a874579aa235d86222945 (patch)
tree161b1c7e4a3cfbdd355053af971b8a4119e72e59 /apps
parentf112ece1f23ac994c1701903c7bcde9dc55e4de3 (diff)
formatting, white-space changes only
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/group_ldap.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/user_ldap/group_ldap.php b/apps/user_ldap/group_ldap.php
index 278eadfdddd..63476525dfa 100644
--- a/apps/user_ldap/group_ldap.php
+++ b/apps/user_ldap/group_ldap.php
@@ -476,11 +476,11 @@ class GROUP_LDAP extends BackendUtility implements \OCP\GroupInterface {
if ($userMatch !== false) {
// match found so this user is in this group
$groupName = $this->access->dn2groupname($dynamicGroup['dn'][0]);
- if(is_string($groupName)) {
- // be sure to never return false if the dn could not be
- // resolved to a name, for whatever reason.
- $groups[] = $groupName;
- }
+ if(is_string($groupName)) {
+ // be sure to never return false if the dn could not be
+ // resolved to a name, for whatever reason.
+ $groups[] = $groupName;
+ }
}
} else {
\OCP\Util::writeLog('user_ldap', 'No search filter found on member url '.
@@ -530,9 +530,9 @@ class GROUP_LDAP extends BackendUtility implements \OCP\GroupInterface {
$uid = $userDN;
}
- if(isset($this->cachedGroupsByMember[$uid])) {
+ if(isset($this->cachedGroupsByMember[$uid])) {
$groups[] = $this->cachedGroupsByMember[$uid];
- } else {
+ } else {
$groupsByMember = array_values($this->getGroupsByMember($uid));
$groupsByMember = $this->access->ownCloudGroupNames($groupsByMember);
$this->cachedGroupsByMember[$uid] = $groupsByMember;