]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/approvesub.php
Merge branch 'nightly' into 'nightly'
[quix0rs-gnu-social.git] / actions / approvesub.php
index c9fa804412a97b4abd0669c38be051b77cc81a64..147d37f297e12ef04c6144e5c3a7c5560c7ce5e8 100644 (file)
@@ -50,7 +50,7 @@ class ApprovesubAction extends Action
     /**
      * Prepare to run
      */
-    function prepare($args)
+    function prepare(array $args = array())
     {
         parent::prepare($args);
 
@@ -97,9 +97,9 @@ class ApprovesubAction extends Action
      *
      * @return void
      */
-    function handle($args)
+    function handle()
     {
-        parent::handle($args);
+        parent::handle();
         $cur = common_current_user();
 
         try {