/** * @see \wcf\system\comment\manager\ICommentManager::updateCounter() */ public function updateCounter($objectID, $value) { $news = new News($objectID); $editor = new NewsEditor($news); // update counter for news comments $editor->updateCounters(array('comments' => $value)); }