X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=actions%2Fapigroupshow.php;h=8e471689a8ebdb86fd8f04f102ca57468528d7b4;hb=271d7dd8509537aee7e10fd6c8f493e62e6c75b2;hp=ef9cbf0e755d3b1786fb41e15faec59ac42d7f08;hpb=c9c7bb3234f8ede65c328ecf9f713b189a81faad;p=quix0rs-gnu-social.git diff --git a/actions/apigroupshow.php b/actions/apigroupshow.php index ef9cbf0e75..8e471689a8 100644 --- a/actions/apigroupshow.php +++ b/actions/apigroupshow.php @@ -79,7 +79,7 @@ class ApiGroupShowAction extends ApiPrivateAuthAction common_redirect(common_local_url('ApiGroupShow', $args), 301); } else { $this->clientError( - _('Group not found!'), + _('Group not found.'), 404, $this->format ); @@ -158,4 +158,19 @@ class ApiGroupShowAction extends ApiPrivateAuthAction return null; } + /** + * Return true if read only. + * + * MAY override + * + * @param array $args other arguments + * + * @return boolean is read only action? + */ + + function isReadOnly($args) + { + return true; + } + }