]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apitrends.php
Merge branch 'nightly' into 'nightly'
[quix0rs-gnu-social.git] / actions / apitrends.php
index a39769a34e60024fb1744d2ecc2cba109d2bf678..996ad663013c18cf1665cee72948d92764fb1b09 100644 (file)
@@ -53,7 +53,7 @@ class ApiTrendsAction extends ApiPrivateAuthAction
      *
      * @return boolean false if user doesn't exist
      */
-    function prepare($args)
+    function prepare(array $args = array())
     {
         parent::prepare($args);
         return true;
@@ -66,9 +66,9 @@ class ApiTrendsAction extends ApiPrivateAuthAction
      *
      * @return void
      */
-    function handle($args)
+    function handle()
     {
-        parent::handle($args);
+        parent::handle();
         $this->showTrends();
     }