X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapiaccountverifycredentials.php;h=12daf3e1e6fe68150ea652154ee420bf32bf0ba8;hb=e8d1bb25469fe1ef0cbcb32c3022010997aca4b0;hp=9b98fa6d810ba384fbea24599c7f47ae4285c3bc;hpb=c6b1b3e5e3ad1c47c7bd25b5bcfb0a8cb1cb2bb5;p=quix0rs-gnu-social.git diff --git a/actions/apiaccountverifycredentials.php b/actions/apiaccountverifycredentials.php index 9b98fa6d81..12daf3e1e6 100644 --- a/actions/apiaccountverifycredentials.php +++ b/actions/apiaccountverifycredentials.php @@ -48,6 +48,13 @@ if (!defined('STATUSNET')) { */ class ApiAccountVerifyCredentialsAction extends ApiAuthAction { + /** + * Handle the request + * + * Check whether the credentials are valid and output the result + * + * @return void + */ protected function handle() { parent::handle(); @@ -78,7 +85,7 @@ class ApiAccountVerifyCredentialsAction extends ApiAuthAction * * @return boolean true */ - function isReadOnly($args) + function isReadOnly(array $args=array()) { return true; }