]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/replies.php
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
[quix0rs-gnu-social.git] / actions / replies.php
index d6d2cb4ba936938c38f65e8fcd48eaa3f424cf3d..2ab5d2a08edc10d5041655118aa05e94e3023987 100644 (file)
@@ -59,7 +59,7 @@ class RepliesAction extends Action
      *
      * @return boolean success flag
      */
-    function prepare($args)
+    function prepare(array $args=array())
     {
         parent::prepare($args);
 
@@ -106,7 +106,7 @@ class RepliesAction extends Action
      *
      * @return void
      */
-    function handle($args)
+    function handle(array $args=array())
     {
         parent::handle($args);
         $this->showPage();
@@ -186,7 +186,7 @@ class RepliesAction extends Action
      */
     function showContent()
     {
-        $nl = new NoticeList($this->notice, $this);
+        $nl = new PrimaryNoticeList($this->notice, $this, array('show_n'=>NOTICES_PER_PAGE));
 
         $cnt = $nl->show();
         if (0 === $cnt) {
@@ -229,7 +229,7 @@ class RepliesAction extends Action
         $this->elementEnd('div');
     }
 
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return true;
     }