handle function declaration to match parent

This commit is contained in:
Mikael Nordfeldth 2015-07-07 20:02:41 +02:00
parent d0458b824a
commit 33dc06ae21
1 changed files with 2 additions and 11 deletions

View File

@ -110,18 +110,9 @@ class ApiDirectMessageAction extends ApiAuthAction
return true;
}
/**
* Handle the request
*
* Show the messages
*
* @param array $args $_REQUEST data (unused)
*
* @return void
*/
function handle($args)
protected function handle()
{
parent::handle($args);
parent::handle();
$this->showMessages();
}