]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apihelptest.php
Lots of tiny message changes.
[quix0rs-gnu-social.git] / actions / apihelptest.php
index e4ef55f2e397f4f353d0d956375afdb3dda42471..7b4017531cc73de9e5de3a516f8fa1ef67f9564b 100644 (file)
@@ -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
             );