public function _preDelete()
 {
     TBGIssuetypeSchemeLinkTable::getTable()->deleteByIssuetypeID($this->getID());
     TBGVisibleIssueTypesTable::getTable()->deleteByIssuetypeID($this->getID());
 }
 protected function _preDelete()
 {
     TBGIssueFieldsTable::getTable()->deleteByIssuetypeSchemeID($this->getID());
     TBGIssuetypeSchemeLinkTable::getTable()->deleteByIssuetypeSchemeID($this->getID());
     TBGProjectsTable::getTable()->updateByIssuetypeSchemeID($this->getID());
 }
Ejemplo n.º 3
0
 public function isAssociatedWithAnySchemes()
 {
     return (bool) TBGIssuetypeSchemeLinkTable::getTable()->countByIssuetypeID($this->getID());
 }