From 1227d2d7105ad60e33b2d0fb348d7faae0794162 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sun, 1 Mar 2015 12:45:58 +0100 Subject: [PATCH] Forgot to make syntax edits on last commit. --- actions/apiaccountregister.php | 2 +- actions/register.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/apiaccountregister.php b/actions/apiaccountregister.php index 14a75fc27e..1c0ebe5705 100644 --- a/actions/apiaccountregister.php +++ b/actions/apiaccountregister.php @@ -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'); diff --git a/actions/register.php b/actions/register.php index 7e48df9ac7..7ab04534f6 100644 --- a/actions/register.php +++ b/actions/register.php @@ -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. -- 2.39.5