function isRemoveAllowedAll() { if ($this->_iId == $this->_getAuthorId() && getParam('enable_cmts_profile_delete') == 'on') { return true; } return parent::isRemoveAllowedAll(); }
function isRemoveAllowedAll() { $oMain = $this->getMain(); $aDataEntry = $oMain->_oDb->getEntryById($this->getId()); if ($oMain->isAllowedCreatorCommentsDeleteAndEdit($aDataEntry)) { return true; } return parent::isRemoveAllowedAll(); }
function isRemoveAllowedAll() { $oMain = $this->getMain(); $aEvent = $oMain->_oDb->getEntryByIdAndOwner($this->getId(), 0, true); if ($oMain->isAllowedCreatorCommentsDeleteAndEdit($aEvent)) { return true; } return parent::isRemoveAllowedAll(); }
function isRemoveAllowedAll() { $oMain = $this->getMain(); $aBlogPost = $oMain->_oDb->getPostInfo($this->getId(), 0, true); if ($oMain->isAllowedCreatorCommentsDeleteAndEdit($aBlogPost)) { return true; } return parent::isRemoveAllowedAll(); }