예제 #1
0
 /**
  * @return bool
  */
 function UpdateRequestCalendarActive()
 {
     $this->_connector->Execute($this->_commandCreator->SelectCountOfActiveCalendars());
     $row = $this->_connector->GetNextRecord();
     if ($row && (int) $row->cnt == 0) {
         return $this->_connector->Execute($this->_commandCreator->SetAllCalendarsActive());
     }
     return true;
 }