]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
handle function declaration to match parent
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 7 Jul 2015 18:02:41 +0000 (20:02 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 7 Jul 2015 18:02:41 +0000 (20:02 +0200)
plugins/DirectMessage/actions/apidirectmessage.php

index 17c445c27656bff121b3e020c83038744fcbecac..8e7f6f806152cb03e9b88e4ea6927614b1701650 100644 (file)
@@ -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();
     }