From 85c4e11f8388a303a07c592d3a1ba0eba6ca698a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 8 Apr 2011 18:03:18 -0400 Subject: [PATCH] make ConversationNoticeStream accept a profile parameter --- lib/conversationnoticestream.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/conversationnoticestream.php b/lib/conversationnoticestream.php index 78ba3a372d..56850fe982 100644 --- a/lib/conversationnoticestream.php +++ b/lib/conversationnoticestream.php @@ -46,10 +46,11 @@ if (!defined('STATUSNET')) { */ class ConversationNoticeStream extends ScopingNoticeStream { - function __construct($id) + function __construct($id, $profile = null) { parent::__construct(new CachingNoticeStream(new RawConversationNoticeStream($id), - 'notice:conversation_ids:'.$id)); + 'notice:conversation_ids:'.$id), + $profile); } } @@ -98,9 +99,6 @@ class RawConversationNoticeStream extends NoticeStream } } - $notice->free(); - $notice = NULL; - return $ids; } } \ No newline at end of file -- 2.39.5