]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apiaccountverifycredentials.php
Move all basic auth output and processing to base classes
[quix0rs-gnu-social.git] / actions / apiaccountverifycredentials.php
index 0d4928f6ce1b38c55381dac9ad3d4e00ddb67c6d..104b9867fd881e361c36d2be6fbaf0c2da21a70f 100644 (file)
@@ -47,27 +47,6 @@ require_once INSTALLDIR.'/lib/apiauth.php';
 
 class ApiAccountVerifyCredentialsAction extends ApiAuthAction
 {
-    /**
-     * Take arguments for running
-     *
-     * @param array $args $_REQUEST args
-     *
-     * @return boolean success flag
-     *
-     */
-
-    function prepare($args)
-    {
-        parent::prepare($args);
-
-        if ($this->requiresAuth()) {
-            if ($this->checkBasicAuthUser() == false) {
-                return false;
-            }
-        }
-
-        return true;
-    }
 
     /**
      * Handle the request