mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Uninitialized variable
This commit is contained in:
parent
777eb1d8b1
commit
b46d3019ca
1 changed files with 1 additions and 0 deletions
|
|
@ -345,6 +345,7 @@ class OC_User {
|
|||
* @return boolean
|
||||
*/
|
||||
public static function userExists($uid){
|
||||
static $user_exists_checked = null;
|
||||
if (!is_null($user_exists_checked)) {
|
||||
return $user_exists_checked;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue