X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapihelptest.php;h=7b4017531cc73de9e5de3a516f8fa1ef67f9564b;hb=4af6b7f5c3749ed73a96a6899ee472a03e83e9c8;hp=e4ef55f2e397f4f353d0d956375afdb3dda42471;hpb=67c387c6a0dc80a5c9beac9d73717763a2ba96f4;p=quix0rs-gnu-social.git diff --git a/actions/apihelptest.php b/actions/apihelptest.php index e4ef55f2e3..7b4017531c 100644 --- a/actions/apihelptest.php +++ b/actions/apihelptest.php @@ -32,7 +32,7 @@ if (!defined('STATUSNET')) { exit(1); } -require_once INSTALLDIR . '/lib/api.php'; +require_once INSTALLDIR . '/lib/apiprivateauth.php'; /** * Returns the string "ok" in the requested format with a 200 OK HTTP status code. @@ -45,7 +45,7 @@ require_once INSTALLDIR . '/lib/api.php'; * @link http://status.net/ */ -class ApiHelpTestAction extends ApiAction +class ApiHelpTestAction extends ApiPrivateAuthAction { /** @@ -85,7 +85,7 @@ class ApiHelpTestAction extends ApiAction $this->endDocument('json'); } else { $this->clientError( - _('API method not found!'), + _('API method not found.'), 404, $this->format );