Merge pull request #3671 from owncloud/fix_user_creation

createUser() needs to return something; the user object or false
This commit is contained in:
icewind1991 2013-06-11 05:02:06 -07:00
commit a89dedf70d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/**