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,
|
'homepage' => $homepage,
|
||||||
'bio' => $bio,
|
'bio' => $bio,
|
||||||
'location' => $location,
|
'location' => $location,
|
||||||
'code' => $this->code))) {
|
'code' => $this->code));
|
||||||
Event::handle('EndRegistrationTry', array($this));
|
Event::handle('EndRegistrationTry', array($this));
|
||||||
|
|
||||||
$this->initDocument('json');
|
$this->initDocument('json');
|
||||||
|
|
|
@ -236,7 +236,7 @@ class RegisterAction extends Action
|
||||||
'homepage' => $homepage,
|
'homepage' => $homepage,
|
||||||
'bio' => $bio,
|
'bio' => $bio,
|
||||||
'location' => $location,
|
'location' => $location,
|
||||||
'code' => $code))) {
|
'code' => $code));
|
||||||
// success!
|
// success!
|
||||||
if (!common_set_user($user)) {
|
if (!common_set_user($user)) {
|
||||||
// TRANS: Server error displayed when saving fails during user registration.
|
// TRANS: Server error displayed when saving fails during user registration.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user