/**
  * @see	\wcf\system\comment\manager\ICommentManager::canAdd()
  */
 public function canAdd($objectID)
 {
     if (parent::canAdd($objectID)) {
         $page = PageCache::getInstance()->getPage($objectID);
         return $page->getPermission('canAddComment');
     }
     return false;
 }
 /**
  * @see	\wcf\system\comment\manager\ICommentManager::canDeleteResponse()
  */
 public function canDeleteResponse(CommentResponse $response)
 {
     if ($response->getComment()->objectID == WCF::getUser()->userID && WCF::getSession()->getPermission('user.profileComment.canDeleteCommentInOwnProfile')) {
         return true;
     }
     return parent::canDeleteResponse($response);
 }