X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fapibareauth.php;h=da7af12614ac88801b8ab47a3316a3eb44927e8b;hb=cce92e394b228087ce9aeab24ab857bb617ba3fb;hp=a99d450ecccdaed9262edc8dc9263387058e7316;hpb=b3bbaecf47d74102a2ed48cd0c773d33a4a49d59;p=quix0rs-gnu-social.git diff --git a/lib/apibareauth.php b/lib/apibareauth.php index a99d450ecc..da7af12614 100644 --- a/lib/apibareauth.php +++ b/lib/apibareauth.php @@ -23,8 +23,16 @@ * * @category API * @package StatusNet - * @author Zach Copley + * @author Adrian Lang + * @author Brenda Wallace + * @author Craig Andrews + * @author Dan Moore + * @author Evan Prodromou + * @author mEDI + * @author Sarven Capadisli + * @author Zach Copley * @copyright 2009 StatusNet, Inc. + * @copyright 2009 Free Software Foundation, Inc http://www.fsf.org * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ @@ -41,6 +49,13 @@ require_once INSTALLDIR.'/lib/apiauth.php'; * * @category API * @package StatusNet + * @author Adrian Lang + * @author Brenda Wallace + * @author Craig Andrews + * @author Dan Moore + * @author Evan Prodromou + * @author mEDI + * @author Sarven Capadisli * @author Zach Copley * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ @@ -48,6 +63,22 @@ require_once INSTALLDIR.'/lib/apiauth.php'; class ApiBareAuthAction extends ApiAuthAction { + + /** + * Take arguments for running + * + * @param array $args $_REQUEST args + * + * @return boolean success flag + * + */ + + function prepare($args) + { + parent::prepare($args); + return true; + } + /** * Does this API resource require authentication? * @@ -76,4 +107,4 @@ class ApiBareAuthAction extends ApiAuthAction return false; } -} \ No newline at end of file +}