Esempio n. 1
0
 protected function doEndVacationMode()
 {
     $db = Neuron_DB_Database::__getInstance();
     // Reset all resource times
     $db->query("\n\t\t\tUPDATE\n\t\t\t\tvillages\n\t\t\tSET\n\t\t\t\tlastResRefresh = '" . time() . "'\n\t\t\tWHERE\n\t\t\t\tplid = {$this->getId()} AND\n\t\t\t\tisActive = '1'\n\t\t");
     parent::doEndVacationMode();
 }