Exemplo n.º 1
0
 public function scheduleRemoveAction()
 {
     $request = $this->getRequest();
     $items = $request->getParam("items", array());
     try {
         $scheduler = new Application_Model_Scheduler();
         $scheduler->removeItems($items);
     } catch (OutDatedScheduleException $e) {
         $this->view->error = $e->getMessage();
         Logging::info($e->getMessage());
     } catch (Exception $e) {
         $this->view->error = $e->getMessage();
         Logging::info($e->getMessage());
     }
 }