From: Evan Prodromou Date: Fri, 8 Apr 2011 22:03:18 +0000 (-0400) Subject: make ConversationNoticeStream accept a profile parameter X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=85c4e11f8388a303a07c592d3a1ba0eba6ca698a;p=quix0rs-gnu-social.git make ConversationNoticeStream accept a profile parameter --- 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