]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/ClientSideShorten/actions/shorten.php
Merge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes
[quix0rs-gnu-social.git] / plugins / ClientSideShorten / actions / shorten.php
index 6840d532aab720d4d21d2bdbf47431d9ccc3383f..72ed5624b591ebc11901b3b8b1106dcc0cb0f4ae 100644 (file)
@@ -45,7 +45,7 @@ class ShortenAction extends Action
 {
     private $text;
 
-    function prepare($args)
+    function prepare(array $args = array())
     {
         parent::prepare($args);
         $this->groups=array();
@@ -60,7 +60,7 @@ class ShortenAction extends Action
 
     function handle($args=null)
     {
-        parent::handle($args);
+        parent::handle();
         header('Content-Type: text/plain');
         $shortened_text = common_shorten_links($this->text);
         print $shortened_text;