createUser() needs to return something; the user object or false

remotes/origin/stable6
Björn Schießle 2013-06-11 13:48:17 +07:00
parent 4f0f537b42
commit 118f2b3283
1 changed files with 1 additions and 1 deletions

@ -213,7 +213,7 @@ class OC_User {
* Allowed characters in the username are: "a-z", "A-Z", "0-9" and "_.@-"
*/
public static function createUser($uid, $password) {
self::getManager()->createUser($uid, $password);
return self::getManager()->createUser($uid, $password);
}
/**