summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-09-12 11:05:03 +0400
committerAndrew Dolgov <[email protected]>2010-09-12 11:05:03 +0400
commitc1b5cd23e068d269a2736ac4759fbaa09243f4dd (patch)
tree65f734f97a39fd5a36489ad518183ab767cf3c99 /modules
parente0cebf2a81f8ce20656c210c97b6751f3166b554 (diff)
digest: support feed catchup
Diffstat (limited to 'modules')
-rw-r--r--modules/backend-rpc.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php
index 70b690111..976fac15c 100644
--- a/modules/backend-rpc.php
+++ b/modules/backend-rpc.php
@@ -1029,6 +1029,20 @@
return;
}
+ if ($subop == "catchupFeed") {
+
+ $feed_id = db_escape_string($_REQUEST['feed_id']);
+ $is_cat = db_escape_string($_REQUEST['is_cat']);
+
+ print "<rpc-reply>";
+
+ catchup_feed($link, $feed_id, $is_cat);
+
+ print "</rpc-reply>";
+
+ return;
+ }
+
print "<rpc-reply><error>Unknown method: $subop</error></rpc-reply>";
}
?>