From 43cec8eaac878ee1b65d318ed44cb52af2b97e15 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 9 Jul 2015 13:46:03 +0200 Subject: [PATCH] API actions are not ManagedAction yet --- actions/apitimelinetag.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/actions/apitimelinetag.php b/actions/apitimelinetag.php index 04a4727a9d..1184440c7d 100644 --- a/actions/apitimelinetag.php +++ b/actions/apitimelinetag.php @@ -51,10 +51,14 @@ class ApiTimelineTagAction extends ApiPrivateAuthAction { var $notices = null; - protected function doPreparation() + protected function prepare(array $args=array()) { + parent::prepare($args); + $this->tag = $this->arg('tag'); $this->notices = $this->getNotices(); + + return true; } /**