summaryrefslogtreecommitdiffstats
path: root/lib/user.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-07-07 15:52:49 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-07-07 15:52:49 +0200
commitb46d3019ca4ebc346811eb52a7607702d69975a4 (patch)
tree93e2edaee48b2a1af61fd8924697b975185fc5fa /lib/user.php
parent777eb1d8b1d68f93d986bf2c8280e7416a1694e6 (diff)
downloadnextcloud-server-b46d3019ca4ebc346811eb52a7607702d69975a4.tar.gz
nextcloud-server-b46d3019ca4ebc346811eb52a7607702d69975a4.zip
Uninitialized variable
Diffstat (limited to 'lib/user.php')
-rw-r--r--lib/user.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/user.php b/lib/user.php
index 3029ec1acc1..2b4e367ab70 100644
--- a/lib/user.php
+++ b/lib/user.php
@@ -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;
}