Uninitialized variable

This commit is contained in:
Lukas Reschke 2012-07-07 15:52:49 +02:00
parent 777eb1d8b1
commit b46d3019ca

View file

@ -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;
}