Mismatching function declarations.

This commit is contained in:
Mikael Nordfeldth 2015-07-04 19:51:36 +02:00
parent 9054bb69e9
commit 3b6a424c9f

View File

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