diff --git a/lib/user.php b/lib/user.php index 503ac3f749..06ea8e791d 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); } /**