コード例 #1
0
ファイル: Downloads.php プロジェクト: prepare4battle/Ilch-2.0
 public function delAction()
 {
     if ($this->getRequest()->isSecure()) {
         $fileMapper = new FileMapper();
         $id = $this->getRequest()->getParam('id');
         $fileMapper->deleteById($id);
         $this->addMessage('deleteSuccess');
         $this->redirect(array('action' => 'treatdownloads', 'id' => $this->getRequest()->getParam('downloads')));
     }
 }