protected function doUpdate() { // must be online to be default if (!$this->isOnline() && $this->isDefault()) { $this->setDefault(false); } parent::doUpdate(); }
protected function doUpdate() { parent::doUpdate(); $this->updateActivation(); }