aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoricewind1991 <icewind1991@gmail.com>2013-06-11 05:02:06 -0700
committericewind1991 <icewind1991@gmail.com>2013-06-11 05:02:06 -0700
commita89dedf70d68eb9d887fefcf37c366d750313335 (patch)
tree6f4969fb36f8164fb628e4311a4c7c5f95d5772c
parent74825de0bc39cdbdb4763cf3709002af17054c32 (diff)
parent118f2b32830026c5a14e6c79bf4c9feb5b88677e (diff)
downloadnextcloud-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.php2
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);
}
/**