Mismatching function declarations.

This commit is contained in:
Mikael Nordfeldth 2015-07-04 19:51:36 +02:00
parent 9054bb69e9
commit 3b6a424c9f
1 changed files with 3 additions and 16 deletions

View File

@ -51,23 +51,10 @@ class ApiTimelineTagAction extends ApiPrivateAuthAction
{
var $notices = null;
/**
* Take arguments for running
*
* @param array $args $_REQUEST args
*
* @return boolean success flag
*/
function prepare($args)
protected function doPreparation()
{
parent::prepare($args);
common_debug("apitimelinetag prepare()");
$this->tag = $this->arg('tag');
$this->notices = $this->getNotices();
return true;
}
/**
@ -79,9 +66,9 @@ class ApiTimelineTagAction extends ApiPrivateAuthAction
*
* @return void
*/
function handle($args)
protected function handle()
{
parent::handle($args);
parent::handle();
$this->showTimeline();
}