class SubeditAction extends Action
{
-
var $profile = null;
function prepare($args)
{
-
parent::prepare($args);
if (!common_logged_in()) {
$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');