Beispiel #1
0
 /**
  * @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;
     }
 }