]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/repeat.php
A bunch of FormAction and ManagedAction synchronization
[quix0rs-gnu-social.git] / actions / repeat.php
index 501570ebf0f7d6c6e9ba08cdd0760196ec8354b0..49132e9b81e67f5caff8c3859ad9ee39e0c18a63 100644 (file)
@@ -40,15 +40,16 @@ if (!defined('GNUSOCIAL')) { exit(1); }
  */
 class RepeatAction extends FormAction
 {
-    protected $needPost = true; // At least for now, until repeat interface is available
-
     protected $notice = null;   // Notice that is being repeated.
     protected $repeat = null;   // The resulting repeat object/notice.
 
-    protected function prepare(array $args=array())
+    function title()
     {
-        parent::prepare($args);
+        return _m('TITLE', 'Repeat notice');
+    }
 
+    protected function doPreparation()
+    {
         $id = $this->trimmed('notice');
 
         if (empty($id)) {