code: public function endVacationMode ()
      {
          $db = Neuron_DB_Database::getInstance ();
  
          $this->loadData ();
  
          $unixtime = $db->toUnixtime ($this->data['startVacation']);
  
          if ($unixtime > 0 && $unixtime + 60*60*24*7 > time ())
          {
              $this->error = 'too_early';
              return false;
          }
  
          $this->doEndVacationMode ();
  
          return true;
      }
docs: /*
  And vacation mode, if possible...