public function executeDelete($request)
 {
     $this->forward404Unless($request->getMethod() == sfRequest::POST);
     $id = $request->getParameter('id');
     $torrent = TorrentPeer::retrieveByPK($id);
     $this->forward404Unless($torrent);
     //$this->getUser()->setFlash('notice','Deleted torrent '.$torrent->getFile());
     $torrent->delete();
     $this->redirect('episode/edit?id=' . $torrent->getEpisodeId());
 }