X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fmicrosummary.php;h=d145dc3bc7b0bc724ba7ae087148131e4415589d;hb=adaad5bb5ea45c7647f5c1de881881861d85ae39;hp=8f2d34998b9a853bd4c13313b8bc0b623272a52c;hpb=be5d113fc684fcbe41b8374c62bfeb0f267216b7;p=quix0rs-gnu-social.git diff --git a/actions/microsummary.php b/actions/microsummary.php index 8f2d34998b..d145dc3bc7 100644 --- a/actions/microsummary.php +++ b/actions/microsummary.php @@ -28,7 +28,7 @@ * along with this program. If not, see . */ -if (!defined('STATUSNET')) { +if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } @@ -59,14 +59,14 @@ class MicrosummaryAction extends Action $user = User::staticGet('nickname', $nickname); if (!$user) { - $this->clientError(_('No such user'), 404); + $this->clientError(_('No such user.'), 404); return; } $notice = $user->getCurrentNotice(); if (!$notice) { - $this->clientError(_('No current status'), 404); + $this->clientError(_('No current status.'), 404); } header('Content-Type: text/plain');