aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/feedController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/feedController.php')
-rwxr-xr-xapp/controllers/feedController.php9
1 files changed, 9 insertions, 0 deletions
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'));
+ }
}