From cc9f65ac8168896423ae76bf60704df3f0e066e9 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 11 Apr 2011 11:17:38 -0400 Subject: [PATCH] pass profile down to ScopingNoticeStream in publicnoticestream --- lib/publicnoticestream.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/publicnoticestream.php b/lib/publicnoticestream.php index 5c8d313d46..044701aaf6 100644 --- a/lib/publicnoticestream.php +++ b/lib/publicnoticestream.php @@ -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); } }