function mark_deleted($id) { // Nuke the EAPM cache for this record if (isset($_SESSION['EAPM'][$this->application])) { unset($_SESSION['EAPM'][$this->application]); } return parent::mark_deleted($id); }
function mark_deleted($id) { $account = BeanFactory::getBean('xPhotobucketAccounts', $this->xphotobucketaccount_id); $account->delete_media($this->image_url); parent::mark_deleted($id); }
function mark_deleted($id) { $GLOBALS['db']->query("DELETE FROM xebaysellersurveys WHERE xebaysellersurveys.xebayuser_id ='{$this->id}'"); parent::mark_deleted($id); }
function mark_deleted($id) { $item = BeanFactory::getBean('xInventories'); if ($item->retrieve($this->xinventory_id) != null) { if ($this->operation == 'in') { $item->quantity -= $this->quantity; if ($item->quantity < 0) { $item->quantity = 0; } } else { $item->quantity += $this->quantity; } $item->save(); } parent::mark_deleted($id); }