S
Syndol
Guest
In the Discussion DataWriter you have the following function which should return an array of message Ids:
However, in the Thread DataWriter you extend this function as follows:
The extended function no longer returns just the message Ids.
There is no need to extend.
PHP:
protected function _getMessageIdsInDiscussion()
{
return array_keys($this->_getDiscussionMessages(false));
}
PHP:
protected function _getMessageIdsInDiscussion()
{
return $this->_getPostModel()->getPostsInThreadSimple($this->get('thread_id'), false);
}
There is no need to extend.