R
ragtek
Guest
The getExistinData method doesn't work.
should be
xfrocks found this and it should be fixed ( http://xenforo.com/community/thread...o_datawriter_newsfeed-_getexistingdata.15880/ ) but it isn't in 1.0.4
PHP:
protected function _getExistingData($data)
{
if (!$newsFeedId = $this->_getExistingPrimaryKey($data))
{
return false;
}
return array('xf_news_feed' => $this->_getNewsFeedModel()->getNewsFeedById($newsFeedId));
}
PHP:
protected function _getExistingData($data)
{
if (!$newsFeedId = $this->_getExistingPrimaryKey($data))
{
return false;
}
return array('xf_news_feed' => $this->_getNewsFeedModel()->getNewsFeedItemById($newsFeedId));
}
xfrocks found this and it should be fixed ( http://xenforo.com/community/thread...o_datawriter_newsfeed-_getexistingdata.15880/ ) but it isn't in 1.0.4