diff options
author | nishiki <nishiki@yaegashi.fr> | 2014-03-09 12:01:35 +0100 |
---|---|---|
committer | nishiki <nishiki@yaegashi.fr> | 2014-03-09 12:01:35 +0100 |
commit | d8843f6cd3b37bc7e95b5baa437d7087b09fc6fd (patch) | |
tree | cdb33f2a4cc509dfa36e7e3a93cdf90db9a70bbd /lib/private/user/database.php | |
parent | fbde24c89ae61294bb6327ccc2b5b150b2ec4928 (diff) | |
download | nextcloud-server-d8843f6cd3b37bc7e95b5baa437d7087b09fc6fd.tar.gz nextcloud-server-d8843f6cd3b37bc7e95b5baa437d7087b09fc6fd.zip |
minor clean code
Diffstat (limited to 'lib/private/user/database.php')
-rw-r--r-- | lib/private/user/database.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/user/database.php b/lib/private/user/database.php index 80d52feffc8..c472c5445b7 100644 --- a/lib/private/user/database.php +++ b/lib/private/user/database.php @@ -276,7 +276,7 @@ class OC_User_Database extends OC_User_Backend { */ public function userExists($uid) { $this->loadUser($uid); - return empty(self::$cache[$uid]) ? false : true; + return !empty(self::$cache[$uid]); } /** |