summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/user_ldap.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-09-09 23:19:05 +0200
committerArthur Schiwon <blizzz@owncloud.com>2013-09-27 13:34:15 +0200
commitb9cc2ad660fb7a43f2b0a12e1290527fcebb995a (patch)
tree9a65cda0f6faffb456aad16f06734e4793e88583 /apps/user_ldap/user_ldap.php
parentf04aa1af5d53759dfc838057a5289106489c4a25 (diff)
downloadnextcloud-server-b9cc2ad660fb7a43f2b0a12e1290527fcebb995a.tar.gz
nextcloud-server-b9cc2ad660fb7a43f2b0a12e1290527fcebb995a.zip
Whitespaces
Diffstat (limited to 'apps/user_ldap/user_ldap.php')
-rw-r--r--apps/user_ldap/user_ldap.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php
index 850ca0df995..ab3b57001b6 100644
--- a/apps/user_ldap/user_ldap.php
+++ b/apps/user_ldap/user_ldap.php
@@ -144,14 +144,12 @@ class USER_LDAP extends lib\Access implements \OCP\UserInterface {
if($this->connection->isCached('userExists'.$uid)) {
return $this->connection->getFromCache('userExists'.$uid);
}
-
//getting dn, if false the user does not exist. If dn, he may be mapped only, requires more checking.
$dn = $this->username2dn($uid);
if(!$dn) {
$this->connection->writeToCache('userExists'.$uid, false);
return false;
}
-
//check if user really still exists by reading its entry
if(!is_array($this->readAttribute($dn, ''))) {
$this->connection->writeToCache('userExists'.$uid, false);