diff options
author | icewind1991 <icewind1991@gmail.com> | 2013-06-11 05:02:06 -0700 |
---|---|---|
committer | icewind1991 <icewind1991@gmail.com> | 2013-06-11 05:02:06 -0700 |
commit | a89dedf70d68eb9d887fefcf37c366d750313335 (patch) | |
tree | 6f4969fb36f8164fb628e4311a4c7c5f95d5772c | |
parent | 74825de0bc39cdbdb4763cf3709002af17054c32 (diff) | |
parent | 118f2b32830026c5a14e6c79bf4c9feb5b88677e (diff) | |
download | nextcloud-server-a89dedf70d68eb9d887fefcf37c366d750313335.tar.gz nextcloud-server-a89dedf70d68eb9d887fefcf37c366d750313335.zip |
Merge pull request #3671 from owncloud/fix_user_creation
createUser() needs to return something; the user object or false
-rw-r--r-- | lib/user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/user.php b/lib/user.php index 503ac3f7493..06ea8e791dd 100644 --- a/lib/user.php +++ b/lib/user.php @@ -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); } /** |