Exemple #1
0
 /**
  * Actions done when item is deleted from the database
  *
  * @return nothing
  **/
 public function cleanDBonPurge()
 {
     $temp = new PluginAccountsAccount_Item();
     $temp->deleteByCriteria(array('plugin_accounts_accounts_id' => $this->fields['id']));
     $ip = new Item_Problem();
     $ip->cleanDBonItemDelete(__CLASS__, $this->fields['id']);
     $ci = new Change_Item();
     $ci->cleanDBonItemDelete(__CLASS__, $this->fields['id']);
     $ip = new Item_Project();
     $ip->cleanDBonItemDelete(__CLASS__, $this->fields['id']);
 }
Exemple #2
0
 /**
  * Actions done when item is deleted from the database
  *
  * @return nothing
  **/
 public function cleanDBonPurge()
 {
     $temp = new PluginAccountsAccount_Item();
     $temp->deleteByCriteria(array('plugin_accounts_accounts_id' => $this->fields['id']));
 }