Пример #1
0
 public function executeDeleteReport()
 {
     $this->forceSystemAuthentication();
     $id = $this->getRequestParameter('id');
     if ($id) {
         $report = flagPeer::retrieveByPK($id);
         $report->delete();
     }
     $this->redirect('system/viewReports');
 }