]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
pass profile down to ScopingNoticeStream in publicnoticestream
authorEvan Prodromou <evan@status.net>
Mon, 11 Apr 2011 15:17:38 +0000 (11:17 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 11 Apr 2011 15:17:38 +0000 (11:17 -0400)
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);
     }
 }