summaryrefslogtreecommitdiff
path: root/app/Controllers/feedController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/feedController.php')
-rwxr-xr-xapp/Controllers/feedController.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.php
index e4859b110..315665ef3 100755
--- a/app/Controllers/feedController.php
+++ b/app/Controllers/feedController.php
@@ -378,6 +378,21 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
}
}
+ public function moveAction() {
+ if (Minz_Request::isPost()) {
+ $feed_id = Minz_Request::param('f_id');
+ $cat_id = Minz_Request::param('c_id');
+
+ $feedDAO = FreshRSS_Factory::createFeedDao();
+
+ $values = array(
+ 'category' => $cat_id,
+ );
+
+ $feedDAO->updateFeed($feed_id, $values);
+ }
+ }
+
public function deleteAction() {
if (Minz_Request::isPost()) {
$id = Minz_Request::param('id');