From 3b6a424c9fd954e64146506c9cd72c14ebd05987 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sat, 4 Jul 2015 19:51:36 +0200 Subject: [PATCH] Mismatching function declarations. --- actions/apitimelinetag.php | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/actions/apitimelinetag.php b/actions/apitimelinetag.php index 632714551f..04a4727a9d 100644 --- a/actions/apitimelinetag.php +++ b/actions/apitimelinetag.php @@ -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(); }