X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapihelptest.php;h=d0e9e4926f55ca85adfce968ef50a9feb9cb83f3;hb=a78f184652beb0fc84afbbfb6ec5a407e9409cc8;hp=f2c459e6fd5ddc4db5c99d3dd434b2be143bbb1b;hpb=a42e128c1532c45fd930d98c985f9a8d98ff6868;p=quix0rs-gnu-social.git diff --git a/actions/apihelptest.php b/actions/apihelptest.php index f2c459e6fd..d0e9e4926f 100644 --- a/actions/apihelptest.php +++ b/actions/apihelptest.php @@ -85,12 +85,27 @@ class ApiHelpTestAction extends ApiPrivateAuthAction $this->endDocument('json'); } else { $this->clientError( - _('API method not found!'), + _('API method not found.'), 404, $this->format ); } } + /** + * Return true if read only. + * + * MAY override + * + * @param array $args other arguments + * + * @return boolean is read only action? + */ + + function isReadOnly($args) + { + return true; + } + }