]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apiaccountverifycredentials.php
Twitter Import + avatar fixes (cleaning up + fixing)
[quix0rs-gnu-social.git] / actions / apiaccountverifycredentials.php
index 26d4e2fc5c8aba3c5c6d226892c37f5f455eda95..ccb3bd7a600258da358ffd5d6fb51a2f1c27fa7d 100644 (file)
@@ -33,8 +33,6 @@ if (!defined('STATUSNET')) {
     exit(1);
 }
 
-require_once INSTALLDIR . '/lib/apiauth.php';
-
 /**
  * Check a user's credentials. Returns an HTTP 200 OK response code and a
  * representation of the requesting user if authentication was successful;
@@ -64,7 +62,7 @@ class ApiAccountVerifyCredentialsAction extends ApiAuthAction
         parent::handle($args);
 
         if (!in_array($this->format, array('xml', 'json'))) {
-            // TRANS: Client error displayed trying to execute an unknown API method verifying user credentials.
+            // TRANS: Client error displayed when coming across a non-supported API method.
             $this->clientError(_('API method not found.'), $code = 404);
             return;
         }