From 48a1aa7d52e712d5f64a33a003b31f23a00b99f5 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Thu, 25 Oct 2012 17:08:17 +0200 Subject: ajout de la fonctionnalité pour paramétrer les raccourcis MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/feedController.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'app/controllers/feedController.php') diff --git a/app/controllers/feedController.php b/app/controllers/feedController.php index f597c872f..4ef4039f6 100755 --- a/app/controllers/feedController.php +++ b/app/controllers/feedController.php @@ -129,4 +129,13 @@ class feedController extends ActionController { Request::forward (array ('c' => 'configure', 'a' => 'importExport')); } + + public function deleteAction () { + $id = Request::param ('id'); + + $feedDAO = new FeedDAO (); + $feedDAO->deleteFeed ($id); + + Request::forward (array ('c' => 'configure', 'a' => 'flux')); + } } -- cgit v1.2.3