Fix User::create return variable
This commit is contained in:
parent
afbfbde112
commit
d500d06a06
|
@ -407,8 +407,8 @@ class User
|
||||||
|
|
||||||
call_hooks('register_account', $uid);
|
call_hooks('register_account', $uid);
|
||||||
|
|
||||||
$result['user'] = $user;
|
$return['user'] = $user;
|
||||||
return $result;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user