Fixes a problem with the user creation ("User already existed" even if the user don't exists.) Thanks to Phil Reinhardt for pointing this out.
This commit is contained in:
parent
f955e5e9b2
commit
ec7bb86b28
|
@ -345,7 +345,6 @@ 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 New Issue