Пример #1
0
 /**
  * Deletes the calendar. 
  * 
  * @return void
  */
 public function delete()
 {
     if (!$this->hasPrivilege()) {
         throw new Sabre_DAV_Exception_Forbidden('Permission denied to access this calendar');
     }
     $this->caldavBackend->deleteCalendar($this->calendarInfo['id']);
 }
Пример #2
0
 /**
  * Deletes the calendar.
  *
  * @return void
  */
 public function delete()
 {
     $this->caldavBackend->deleteCalendar($this->calendarInfo['id']);
 }