]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
no extra nulls on home page
authorEvan Prodromou <evan@status.net>
Mon, 18 Apr 2011 20:28:41 +0000 (16:28 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 18 Apr 2011 20:28:41 +0000 (16:28 -0400)
actions/all.php

index 96f688f72083dbf9a94b9ee95f27647458a42fe7..24d8f6ec09501b2ccc47bb092b03fea49f9ef6fc 100644 (file)
@@ -59,9 +59,7 @@ class AllAction extends ProfileAction
         $stream = new ThreadingInboxNoticeStream($this->user, Profile::current());
 
         $this->notice = $stream->getNotices(($this->page-1)*NOTICES_PER_PAGE,
-                                            NOTICES_PER_PAGE + 1,
-                                            null,
-                                            null);
+                                            NOTICES_PER_PAGE + 1);
 
         if ($this->page > 1 && $this->notice->N == 0) {
             // TRANS: Server error when page not found (404).