summaryrefslogtreecommitdiffstats
path: root/lib/private/user
diff options
context:
space:
mode:
authornishiki <nishiki@yaegashi.fr>2014-03-09 12:01:35 +0100
committernishiki <nishiki@yaegashi.fr>2014-03-09 12:01:35 +0100
commitd8843f6cd3b37bc7e95b5baa437d7087b09fc6fd (patch)
treecdb33f2a4cc509dfa36e7e3a93cdf90db9a70bbd /lib/private/user
parentfbde24c89ae61294bb6327ccc2b5b150b2ec4928 (diff)
downloadnextcloud-server-d8843f6cd3b37bc7e95b5baa437d7087b09fc6fd.tar.gz
nextcloud-server-d8843f6cd3b37bc7e95b5baa437d7087b09fc6fd.zip
minor clean code
Diffstat (limited to 'lib/private/user')
-rw-r--r--lib/private/user/database.php2
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]);
}
/**