protected function afterSave() { if (!empty($this->__issue_to_user)) { $this->issue(); } parent::afterSave(); }
protected function afterSave() { parent::afterSave(); // cart has been updated, // so delete all scheduled abandoned cart notifications \Shop\Models\CartsAbandoned::deleteQueuedEmails($this); // and reset its array of email notifications $this->abandoned_notifications = array(); $this->store(); }
protected function afterSave() { parent::afterSave(); $this->compressOrdering(); }