diff options
author | Frank Karlitschek <frank@owncloud.org> | 2013-02-11 02:20:03 -0800 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2013-02-11 02:20:03 -0800 |
commit | 764409117a88ac0e73f81ceb71f6b96b522b6225 (patch) | |
tree | 9b1011d13f98acc6cfe397c98ef7d04173f0e181 /lib/user.php | |
parent | 04146f2059e2d038177db544ea9f37a124f0781e (diff) | |
parent | 1c94ec71eff884238e2269407cca5ee3d02f8a63 (diff) | |
download | nextcloud-server-764409117a88ac0e73f81ceb71f6b96b522b6225.tar.gz nextcloud-server-764409117a88ac0e73f81ceb71f6b96b522b6225.zip |
Merge pull request #1493 from owncloud/fix_ldap_stored_homedir
Fix ldap stored homedir
Diffstat (limited to 'lib/user.php')
-rw-r--r-- | lib/user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/user.php b/lib/user.php index 37b46118889..f58b6673f7f 100644 --- a/lib/user.php +++ b/lib/user.php @@ -487,7 +487,7 @@ class OC_User { */ public static function getHome($uid) { foreach(self::$_usedBackends as $backend) { - if($backend->implementsActions(OC_USER_BACKEND_GET_HOME)) { + if($backend->implementsActions(OC_USER_BACKEND_GET_HOME) && $backend->userExists($uid)) { $result=$backend->getHome($uid); if($result) { return $result; |