From: Björn Schießle Date: Tue, 11 Jun 2013 11:48:17 +0000 (+0200) Subject: createUser() needs to return something; the user object or false X-Git-Tag: v6.0.0alpha2~662^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=118f2b32830026c5a14e6c79bf4c9feb5b88677e;p=nextcloud-server.git createUser() needs to return something; the user object or false --- 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); } /**