Forgot to make syntax edits on last commit.
This commit is contained in:
parent
bece816ec7
commit
1227d2d710
|
@ -163,7 +163,7 @@ class ApiAccountRegisterAction extends ApiAction
|
|||
'homepage' => $homepage,
|
||||
'bio' => $bio,
|
||||
'location' => $location,
|
||||
'code' => $this->code))) {
|
||||
'code' => $this->code));
|
||||
Event::handle('EndRegistrationTry', array($this));
|
||||
|
||||
$this->initDocument('json');
|
||||
|
|
|
@ -236,7 +236,7 @@ class RegisterAction extends Action
|
|||
'homepage' => $homepage,
|
||||
'bio' => $bio,
|
||||
'location' => $location,
|
||||
'code' => $code))) {
|
||||
'code' => $code));
|
||||
// success!
|
||||
if (!common_set_user($user)) {
|
||||
// TRANS: Server error displayed when saving fails during user registration.
|
||||
|
|
Loading…
Reference in New Issue
Block a user