function cleanDBonPurge() { global $DB; // most use entities_id, RuleDictionnarySoftwareCollection use new_entities_id Rule::cleanForItemAction($this, '%entities_id'); Rule::cleanForItemCriteria($this); $gki = new Entity_KnowbaseItem(); $gki->cleanDBonItemDelete($this->getType(), $this->fields['id']); $gr = new Entity_Reminder(); $gr->cleanDBonItemDelete($this->getType(), $this->fields['id']); }
/** * @see CommonDBTM::cleanDBonPurge() * * @since version 0.83.1 **/ function cleanDBonPurge() { $class = new KnowbaseItem_User(); $class->cleanDBonItemDelete($this->getType(), $this->fields['id']); $class = new Entity_KnowbaseItem(); $class->cleanDBonItemDelete($this->getType(), $this->fields['id']); $class = new Group_KnowbaseItem(); $class->cleanDBonItemDelete($this->getType(), $this->fields['id']); $class = new KnowbaseItem_Profile(); $class->cleanDBonItemDelete($this->getType(), $this->fields['id']); }