Ejemplo n.º 1
0
 /**
  * @see CommonDBTM::cleanDBonPurge()
  *
  * @since version 0.83.1
  **/
 function cleanDBonPurge()
 {
     global $DB;
     $class = new Reminder_User();
     $class->cleanDBonItemDelete($this->getType(), $this->fields['id']);
     $class = new Entity_Reminder();
     $class->cleanDBonItemDelete($this->getType(), $this->fields['id']);
     $class = new Group_Reminder();
     $class->cleanDBonItemDelete($this->getType(), $this->fields['id']);
     $class = new Profile_Reminder();
     $class->cleanDBonItemDelete($this->getType(), $this->fields['id']);
     $class = new PlanningRecall();
     $class->cleanDBonItemDelete($this->getType(), $this->fields['id']);
 }
Ejemplo n.º 2
0
 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']);
 }