make ConversationNoticeStream accept a profile parameter

This commit is contained in:
Evan Prodromou 2011-04-08 18:03:18 -04:00
parent dc25564251
commit 85c4e11f83

View File

@ -46,10 +46,11 @@ if (!defined('STATUSNET')) {
*/ */
class ConversationNoticeStream extends ScopingNoticeStream class ConversationNoticeStream extends ScopingNoticeStream
{ {
function __construct($id) function __construct($id, $profile = null)
{ {
parent::__construct(new CachingNoticeStream(new RawConversationNoticeStream($id), 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; return $ids;
} }
} }