common_rememberme($user);
}
- Event::handle('EndRegistrationTry', array($this));
-
// Re-init language env in case it changed (not yet, but soon)
common_init_language();
+ Event::handle('EndRegistrationTry', array($this));
+
$this->showSuccess();
} else {
// TRANS: Form validation error displayed when trying to register with an invalid username or password.
*/
function showSuccessContent()
{
- if (Event::handle('onStartRegisterSuccess', array($this))) {
+ if (Event::handle('StartRegisterSuccess', array($this))) {
$nickname = $this->arg('nickname');
$profileurl = common_local_url('showstream',
}
$this->elementEnd('div');
- Event::handle('onEndRegisterSuccess', array($this));
+ Event::handle('EndRegisterSuccess', array($this));
}
}