/**
  * @see	\wcf\system\comment\manager\ICommentManager::updateCounter()
  */
 public function updateCounter($objectID, $value)
 {
     $entry = new Entry($objectID);
     $editor = new EntryEditor($entry);
     $editor->updateCounters(array('comments' => $value));
 }
 /**
  * @see	\wcf\page\IPage::show()
  */
 public function show()
 {
     parent::show();
     // update download counter
     if (!WCF::getUser()->userID || WCF::getUser()->userID != $this->entry->userID) {
         $editor = new EntryEditor($this->entry);
         $editor->updateCounters(array('downloads' => 1));
         $editor = new EntryFileEditor($this->file);
         $editor->updateCounters(array('downloads' => 1));
     }
     // send file to client
     $this->fileReader->send();
     exit;
 }