X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Ftagother.php;h=e9e13b939b10d31946bb8b6e088a4b530a5283d8;hb=3e9cc76da5b3c2fbf1898a357d1cfb58c7f66d85;hp=0c5bb7cf3ecacac93f311a47c401e0715499641b;hpb=590cc0c9a41206ba58c9333b4e9ef8931285f7e4;p=quix0rs-gnu-social.git diff --git a/actions/tagother.php b/actions/tagother.php index 0c5bb7cf3e..e9e13b939b 100644 --- a/actions/tagother.php +++ b/actions/tagother.php @@ -1,7 +1,7 @@ . */ -if (!defined('LACONICA')) { exit(1); } +if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } require_once(INSTALLDIR.'/lib/settingsaction.php'); @@ -30,13 +30,13 @@ class TagotherAction extends Action { parent::prepare($args); if (!common_logged_in()) { - $this->clientError(_('Not logged in'), 403); + $this->clientError(_('Not logged in.'), 403); return false; } $id = $this->trimmed('id'); if (!$id) { - $this->clientError(_('No id argument.')); + $this->clientError(_('No ID argument.')); return false; }