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