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.

remotes/origin/stable5
Lukas Reschke 13 years ago
parent f955e5e9b2
commit ec7bb86b28
  1. 1
      lib/user.php

@ -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…
Cancel
Save