X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapistatusesretweets.php;h=a79d43168ed49829c1647feceeafa6426049d7e5;hb=e3e90b4c27e27bbdd293767071dea3d7b5022046;hp=2efd59b37f9b75420f2514cc25e3e354987a50e6;hpb=51838a969b51c43e04c5ed16a6ada7eb0e589fd8;p=quix0rs-gnu-social.git diff --git a/actions/apistatusesretweets.php b/actions/apistatusesretweets.php index 2efd59b37f..a79d43168e 100644 --- a/actions/apistatusesretweets.php +++ b/actions/apistatusesretweets.php @@ -109,8 +109,23 @@ class ApiStatusesRetweetsAction extends ApiAuthAction $this->showJsonTimeline($strm); break; default: - $this->clientError(_('API method not found!'), $code = 404); + $this->clientError(_('API method not found.'), $code = 404); break; } } + + /** + * Return true if read only. + * + * MAY override + * + * @param array $args other arguments + * + * @return boolean is read only action? + */ + + function isReadOnly($args) + { + return true; + } }