Skip to content
Snippets Groups Projects
Commit 118f2b32 authored by Björn Schießle's avatar Björn Schießle
Browse files

createUser() needs to return something; the user object or false

parent 4f0f537b
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment