]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/publicnoticestream.php
Caching fixes for Fave class
[quix0rs-gnu-social.git] / lib / publicnoticestream.php
index 5c8d313d46591dd3650d80a6bd78352a9aceca48..044701aaf68bb2b7e983a2ec4e8837910b6bd446 100644 (file)
@@ -47,10 +47,11 @@ if (!defined('STATUSNET')) {
 
 class PublicNoticeStream extends ScopingNoticeStream
 {
-    function __construct()
+    function __construct($profile=null)
     {
         parent::__construct(new CachingNoticeStream(new RawPublicNoticeStream(),
-                                                    'public'));
+                                                    'public'),
+                            $profile);
     }
 }