X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Ffoaf.php;h=c64617e5f04c566bc7edbb00b3265154019daf2f;hb=f2d9e40787c531e62ccf2bb4d07f1189e674e50a;hp=bcdc077ca5fac33c4f80f9c430f5b1b0d770d557;hpb=0f502b8d8656bf9f1340611893dd0e4d736aeea3;p=quix0rs-gnu-social.git diff --git a/actions/foaf.php b/actions/foaf.php index bcdc077ca5..c64617e5f0 100644 --- a/actions/foaf.php +++ b/actions/foaf.php @@ -25,6 +25,10 @@ define('BOTH', 0); class FoafAction extends Action { + function is_readonly() { + return true; + } + function handle($args) { parent::handle($args); @@ -33,14 +37,14 @@ class FoafAction extends Action { $user = User::staticGet('nickname', $nickname); if (!$user) { - common_user_error(_('No such user'), 404); + common_user_error(_('No such user.'), 404); return; } $profile = $user->getProfile(); if (!$profile) { - common_server_error(_('User has no profile'), 500); + common_server_error(_('User has no profile.'), 500); return; }