X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=actions%2Fapifavoritecreate.php;h=b2f6266ebfb9154bb0c1862f3c63154424729edb;hb=1543af748c7fe4be28348dfbfcdbde226c05ae29;hp=90a29d2288962121241383ef2585d7cd8dc0fe19;hpb=60b66bdd6e3bbc083aec6126b8583714dc24b94d;p=quix0rs-gnu-social.git diff --git a/actions/apifavoritecreate.php b/actions/apifavoritecreate.php index 90a29d2288..b2f6266ebf 100644 --- a/actions/apifavoritecreate.php +++ b/actions/apifavoritecreate.php @@ -58,7 +58,6 @@ class ApiFavoriteCreateAction extends ApiAuthAction * @param array $args $_REQUEST args * * @return boolean success flag - * */ function prepare($args) { @@ -95,6 +94,7 @@ class ApiFavoriteCreateAction extends ApiAuthAction if (!in_array($this->format, array('xml', 'json'))) { $this->clientError( + // TRANS: Client error displayed when trying to handle an unknown API method. _('API method not found.'), 404, $this->format