public function inVacationMode() { if ($this->getVacationStart() != null) { if ($this->getVacationStart() < time() - 60 * 60 * 24 * 31) { $this->endVacationMode(); } } return parent::inVacationMode(); }
public function inVacationMode() { if ($this->getVacationStart() != null) { if ($this->getVacationStart() < time() - 60 * 60 * 24 * 31) { $this->endVacationMode(); } } return parent::inVacationMode(); }