mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
minor clean code
This commit is contained in:
parent
fbde24c89a
commit
d8843f6cd3
1 changed files with 1 additions and 1 deletions
|
|
@ -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]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue