summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/user_proxy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/user_proxy.php b/apps/user_ldap/user_proxy.php
index 2b1b86056ea..2cb3dfb2c60 100644
--- a/apps/user_ldap/user_proxy.php
+++ b/apps/user_ldap/user_proxy.php
@@ -79,7 +79,7 @@ class User_Proxy extends lib\Proxy implements \OCP\UserInterface {
$cacheKey = $this->getUserCacheKey($uid);
$prefix = $this->getFromCache($cacheKey);
//in case the uid has been found in the past, try this stored connection first
- if(false && !is_null($prefix)) {
+ if(!is_null($prefix)) {
if(isset($this->backends[$prefix])) {
$instance = $this->backends[$prefix];
if(!method_exists($instance, $method)