summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-12-14 23:16:32 +0100
committerBart Visscher <bartv@thisnet.nl>2012-12-15 00:43:46 +0100
commit68562dafb4a814072aa0cd537b0d035f75e7a70f (patch)
tree58793c418d4d582c1d4d17fde74451e8232f39e8 /apps/user_ldap
parent2ef2dc4ddabc8b5d86d7a9a5a936ecf3901615cc (diff)
downloadnextcloud-server-68562dafb4a814072aa0cd537b0d035f75e7a70f.tar.gz
nextcloud-server-68562dafb4a814072aa0cd537b0d035f75e7a70f.zip
More whitespace fixes
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/lib/access.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php
index e1eea2f46c0..a4123cde57a 100644
--- a/apps/user_ldap/lib/access.php
+++ b/apps/user_ldap/lib/access.php
@@ -347,20 +347,20 @@ abstract class Access {
}
private function findMappedGroup($dn) {
- static $query = null;
+ static $query = null;
if(is_null($query)) {
$query = \OCP\DB::prepare('
- SELECT `owncloud_name`
- FROM `'.$this->getMapTable(false).'`
- WHERE `ldap_dn` = ?'
- );
+ SELECT `owncloud_name`
+ FROM `'.$this->getMapTable(false).'`
+ WHERE `ldap_dn` = ?'
+ );
}
- $res = $query->execute(array($dn))->fetchOne();
+ $res = $query->execute(array($dn))->fetchOne();
if($res) {
- return $res;
- }
+ return $res;
+ }
return false;
- }
+ }
private function ldap2ownCloudNames($ldapObjects, $isUsers) {