]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/noticestream.php
let Inbox class go fingerpokin' in streams
[quix0rs-gnu-social.git] / lib / noticestream.php
index 2b6e10f7b92c59d8581eddc4395a552833a3d99f..a96eb53da627ce89f84fbef85b9a81324af1495e 100644 (file)
@@ -62,7 +62,7 @@ class NoticeStream
     {
         $ids = $this->getNoticeIds($offset, $limit, $sinceId, $maxId);
 
-        $notices = $this->getStreamByIds($ids);
+        $notices = self::getStreamByIds($ids);
 
         return $notices;
     }
@@ -136,7 +136,7 @@ class NoticeStream
         return $ids;
     }
 
-    function getStreamByIds($ids)
+    static function getStreamByIds($ids)
     {
         $cache = Cache::instance();