xfrocks
Well-known member
The method populates data for table `xf_thread_watch` instead of `xf_forum_watch`
PHP:
class XenForo_DataWriter_ForumWatch extends XenForo_DataWriter
{
...
protected function _getExistingData($data)
{
...
return array('xf_thread_watch' => $this->_getForumWatchModel()->getUserForumWatchByForumId($userId, $nodeId));
}
...
}