aboutsummaryrefslogtreecommitdiff
path: root/p/api/greader.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-09-24 17:36:33 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-09-24 17:36:33 +0200
commit44f22ab8b4c46befab98440f69a05725928bed75 (patch)
tree71a9c76629514af82bf5706a1c64c850e7d305c2 /p/api/greader.php
parentd9bf9b2c6f0b2cc9dec3b638841b7e3040dcf46f (diff)
API move feed to another category
https://github.com/jangernert/FeedReader/issues/59 https://github.com/FreshRSS/FreshRSS/issues/443
Diffstat (limited to 'p/api/greader.php')
-rw-r--r--p/api/greader.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/p/api/greader.php b/p/api/greader.php
index 3da1156c2..426f3fe44 100644
--- a/p/api/greader.php
+++ b/p/api/greader.php
@@ -337,14 +337,17 @@ function subscriptionEdit($streamNames, $titles, $action, $add = '', $remove = '
break;
case 'edit':
if ($feedId > 0) {
- //TODO
+ if ($feedDAO->moveFeed($feed_id, $cat_id)) {
+ exit('OK');
+ } else {
+ badRequest();
+ }
}
break;
}
}
}
notImplemented();
- exit('OK');
}
function unreadCount() { //http://blog.martindoms.com/2009/10/16/using-the-google-reader-api-part-2/#unread-count