]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/GNUsocialVideo/actions/postvideo.php
Merge branch 'nightly' into 'master'
[quix0rs-gnu-social.git] / plugins / GNUsocialVideo / actions / postvideo.php
index bdd86abc9e15b33b050c81c43a0ccd3fbde0ffbc..1be201d00f61b875b6012ccfdc0e772a4ebdb061 100644 (file)
@@ -34,7 +34,7 @@ class PostvideoAction extends Action {
     var $user = null;
     var $url = null;
 
-    function prepare($args)
+    function prepare(array $args = array())
     {
         parent::prepare($args);
         $this->user = common_current_user();
@@ -54,9 +54,9 @@ class PostvideoAction extends Action {
         return true;
     }
    
-    function handle($args)
+    function handle()
     {
-        parent::handle($args);
+        parent::handle();
 
         if ($this->isPost()) {
             $this->handlePost($args);