From: Mikael Nordfeldth Date: Sat, 4 Jul 2015 17:51:36 +0000 (+0200) Subject: Mismatching function declarations. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3b6a424c9fd954e64146506c9cd72c14ebd05987;p=quix0rs-gnu-social.git Mismatching function declarations. --- 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(); }