summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/backend.php b/backend.php
index 72c61a8f5..012396182 100644
--- a/backend.php
+++ b/backend.php
@@ -16,6 +16,14 @@
if ($op == "rpc") {
$subop = $_GET["subop"];
+
+ if ($subop == "forceUpdateAll") {
+ update_all_feeds($link, true);
+ }
+
+ if ($subop == "updateAll") {
+ update_all_feeds($link, false);
+ }
if ($subop == "catchupPage") {