function reload($data, $commits) { parent::reload($data, $commits); # apply info from commits, like publish date and author $this->applyInfoFromCommits($commits); # load actual comments $db = new GBCommentDB(); $db->loadString($data); $this->comments = $db->get(); # apply filters gb_cfilter::apply('post-reload-comments', $this); }