diff options
Diffstat (limited to 'actions/newmessage.php')
-rw-r--r-- | actions/newmessage.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/actions/newmessage.php b/actions/newmessage.php index 2455f42e9..d4e289465 100644 --- a/actions/newmessage.php +++ b/actions/newmessage.php @@ -34,7 +34,6 @@ class NewmessageAction extends Action { } function save_new_message() { - $user = common_current_user(); assert($user); # XXX: maybe an error instead... @@ -52,8 +51,8 @@ class NewmessageAction extends Action { if (!$content) { $this->show_form(_('No content!')); return; - } else if (mb_strlen($content) > 140) { - +// } else if (mb_strlen($content) > 140) { + } else { $content = common_shorten_links($content); if (mb_strlen($content) > 140) { |