Forgot to make syntax edits on last commit.

This commit is contained in:
Mikael Nordfeldth 2015-03-01 12:45:58 +01:00
parent bece816ec7
commit 1227d2d710
2 changed files with 2 additions and 2 deletions

View File

@ -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');

View File

@ -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.