Conflicts:
actions/apiaccountverifycredentials.php
actions/apimediaupload.php
actions/logout.php
actions/public.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
*
* Check whether the credentials are valid and output the result
*
- * @param array $args $_REQUEST data (unused)
* @return void
*/
- protected function handle(array $args=array())
+ protected function handle()
{
- parent::handle();
+ parent::handle($args);
if (!in_array($this->format, array('xml', 'json'))) {
// TRANS: Client error displayed when coming across a non-supported API method.
* Grab the file from the 'media' param, then store, and shorten
*
* @todo Upload throttle!
- *
- * @param array $args $_REQUEST data (unused)
- *
* @return void
*/
- protected function handle(array $args=array())
+ protected function handle()
{
- parent::handle();
+ parent::handle($args);
// Workaround for PHP returning empty $_POST and $_FILES when POST
// length > post_max_size in php.ini