/** * @param bool $success * @param bool $forced * @return bool */ public function afterSave($success = true, $forced = false) { if ($this->email) { return parent::afterSave($success = true, $forced = false); } else { return true; } }
/** * @param bool $success * @param bool $forced * @return bool */ public function afterSave($success = true, $forced = false) { if ($this->email) { return parent::afterSave($success = true, $forced = false); } else { return true; } }