public function save() { $isInsert = !$this->getCleanValue($this->_getPrimaryKey()); $ret = parent::save(); if ($isInsert) { $this->sendActivationMail(); } return $ret; }
public function save() { $isInsert = !$this->getCleanValue($this->_getPrimaryKey()); $ret = parent::save(); if ($isInsert) { $this->sendActivationMail(); } return $ret; }