Example #1
0
 /**
  * @param $id
  */
 public function handleDeleteEvent($id)
 {
     if ($id and $event = $this->eventFacade->findEventById($id)) {
         $this->eventFacade->delete($event);
     }
     $this->flashMessage("Událost byla odebrána", "success");
     $this->redirect("this");
 }