From 33dc06ae21daf9a98fd3c44c0eddcd02e0a67fc6 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Tue, 7 Jul 2015 20:02:41 +0200 Subject: [PATCH] handle function declaration to match parent --- plugins/DirectMessage/actions/apidirectmessage.php | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/plugins/DirectMessage/actions/apidirectmessage.php b/plugins/DirectMessage/actions/apidirectmessage.php index 17c445c276..8e7f6f8061 100644 --- a/plugins/DirectMessage/actions/apidirectmessage.php +++ b/plugins/DirectMessage/actions/apidirectmessage.php @@ -110,18 +110,9 @@ class ApiDirectMessageAction extends ApiAuthAction return true; } - /** - * Handle the request - * - * Show the messages - * - * @param array $args $_REQUEST data (unused) - * - * @return void - */ - function handle($args) + protected function handle() { - parent::handle($args); + parent::handle(); $this->showMessages(); } -- 2.39.5