diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-06-11 13:48:17 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-06-11 13:48:17 +0200 |
commit | 118f2b32830026c5a14e6c79bf4c9feb5b88677e (patch) | |
tree | 15a89a45d8e6387678944ad83d673bb0536abac8 /lib/user.php | |
parent | 4f0f537b422015fb5573d3b50c3d0a7137a1384d (diff) | |
download | nextcloud-server-118f2b32830026c5a14e6c79bf4c9feb5b88677e.tar.gz nextcloud-server-118f2b32830026c5a14e6c79bf4c9feb5b88677e.zip |
createUser() needs to return something; the user object or false
Diffstat (limited to 'lib/user.php')
-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); } /** |