]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/noticestream.php
better output for registration confirmation
[quix0rs-gnu-social.git] / lib / noticestream.php
index b60fc236f706e60e34ffa8d57bf4999ea61f8ceb..be28aa61867526f56214ca9ed7f9f6b9534e20a7 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 = null, $maxId = null)
     {
         $ids = $this->getNoticeIds($offset, $limit, $sinceId, $maxId);