summaryrefslogtreecommitdiff
path: root/actions/subedit.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-23 02:04:13 +0100
committerEvan Prodromou <evan@controlyourself.ca>2009-01-23 02:04:13 +0100
commit7bbbd433e81ff481d8d9acac40fd50b5118cf05f (patch)
tree8042ef0904d959e7a51c83e2d8d6bfd3809e5292 /actions/subedit.php
parent1132e66f84c188f8267165d99d95d04047b6b23b (diff)
Some whitespace edits in subedit, and tested that it works
Diffstat (limited to 'actions/subedit.php')
-rw-r--r--actions/subedit.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/actions/subedit.php b/actions/subedit.php
index e22384869..89081ffc7 100644
--- a/actions/subedit.php
+++ b/actions/subedit.php
@@ -21,12 +21,10 @@ if (!defined('LACONICA')) { exit(1); }
class SubeditAction extends Action
{
-
var $profile = null;
function prepare($args)
{
-
parent::prepare($args);
if (!common_logged_in()) {
@@ -37,8 +35,9 @@ class SubeditAction extends Action
$token = $this->trimmed('token');
if (!$token || $token != common_session_token()) {
- $this->clientError(_('There was a problem with your session token. Try again, please.'));
- return;
+ $this->clientError(_('There was a problem with your session token. '.
+ 'Try again, please.'));
+ return false;
}
$id = $this->trimmed('profile');