X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapignusocialconfig.php;h=813073a9edcb4bf959b4e713bb77b365734c81b0;hb=9e89a177c76741f7e696f09d778bd8b151f84d3f;hp=a6105006b4dcdfb03a5e0d8cee8dd2b18bf3ff5f;hpb=9be368006c94ed17d4ff7bb573dbf1bf93b2272e;p=quix0rs-gnu-social.git diff --git a/actions/apignusocialconfig.php b/actions/apignusocialconfig.php index a6105006b4..813073a9ed 100644 --- a/actions/apignusocialconfig.php +++ b/actions/apignusocialconfig.php @@ -113,13 +113,8 @@ class ApiGNUsocialConfigAction extends ApiAction $this->endDocument('json'); break; default: - $this->clientError( - // TRANS: Client error displayed when coming across a non-supported API method. - _('API method not found.'), - 404, - $this->format - ); - break; + // TRANS: Client error displayed when coming across a non-supported API method. + $this->clientError(_('API method not found.'), 404); } }