/**
  * changes the status of the comments to be ok
  */
 function _acceptComments()
 {
     $comments = new UnmoderatedComments();
     foreach ($this->_updateComments as $commentId) {
         $comments->updateCommentStatus($commentId, COMMENT_STATUS_NONSPAM);
     }
     $this->_view = new AdminUnmoderatedCommentsview($this->_blogInfo);
     $this->_view->setSuccessMessage($this->_locale->tr("moderate_comments_moderated_ok"));
     $this->setCommonData();
     // clear the cache
     CacheControl::resetBlogCache($this->_blogInfo->getId());
     return true;
 }