summaryrefslogtreecommitdiff
path: root/actions/register.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-12-02 13:54:44 -0500
committerEvan Prodromou <evan@controlyourself.ca>2008-12-02 13:54:44 -0500
commitde9ea671fcebb800285d94acbf49dd393a16cd21 (patch)
treee3c2471b727e43c0f9ad308605ab9762831a5d5f /actions/register.php
parentc3b884e707ac9b60607f7e13188c2eba560f8881 (diff)
whitespace in actions/register
darcs-hash:20081202185444-5ed1f-a84761dfb4ffb40d6e90c79d92dcd4b029745300.gz
Diffstat (limited to 'actions/register.php')
-rw-r--r--actions/register.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/actions/register.php b/actions/register.php
index 6acbde1bd..8ca685283 100644
--- a/actions/register.php
+++ b/actions/register.php
@@ -62,12 +62,12 @@ class RegisterAction extends Action {
if ($code) {
$invite = Invitation::staticGet($code);
}
-
+
if (common_config('site', 'inviteonly') && !($code && $invite)) {
$this->client_error(_('Sorry, only invited people can register.'));
return;
}
-
+
# Input scrubbing
$nickname = common_canonical_nickname($nickname);
@@ -166,12 +166,12 @@ class RegisterAction extends Action {
if ($code) {
$invite = Invitation::staticGet($code);
}
-
+
if (common_config('site', 'inviteonly') && !($code && $invite)) {
$this->client_error(_('Sorry, only invited people can register.'));
return;
}
-
+
common_show_header(_('Register'), NULL, $error, array($this, 'show_top'));
common_element_start('form', array('method' => 'post',
'id' => 'login',