]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/noticestream.php
Make function signature for getNoticeIds agree
[quix0rs-gnu-social.git] / lib / noticestream.php
index b60fc236f706e60e34ffa8d57bf4999ea61f8ceb..025138be4ded80db592be3f9e46ed0138b92d9a8 100644 (file)
@@ -46,9 +46,9 @@ if (!defined('STATUSNET')) {
  */
 abstract class NoticeStream
 {
-    abstract function getNoticeIds($offset, $limit, $sinceId, $maxId);
+    abstract function getNoticeIds($offset, $limit, $since_id, $max_id);
 
-    function getNotices($offset=0, $limit=20, $sinceId=0, $maxId=0)
+    function getNotices($offset, $limit, $sinceId, $maxId)
     {
         $ids = $this->getNoticeIds($offset, $limit, $sinceId, $maxId);