summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-06-11 13:48:17 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-06-11 13:48:17 +0200
commit118f2b32830026c5a14e6c79bf4c9feb5b88677e (patch)
tree15a89a45d8e6387678944ad83d673bb0536abac8
parent4f0f537b422015fb5573d3b50c3d0a7137a1384d (diff)
downloadnextcloud-server-118f2b32830026c5a14e6c79bf4c9feb5b88677e.tar.gz
nextcloud-server-118f2b32830026c5a14e6c79bf4c9feb5b88677e.zip
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);
}
/**