From b82af8c382441bddfb9fccf5828ff7e7c61682ac Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 23 Aug 2005 06:46:48 +0100 Subject: use transactions in feed update process, better handle feeds without entry dates (schema updated) --- backend.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'backend.php') 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") { -- cgit v1.2.3