stub for update scheduler in backend

This commit is contained in:
Andrew Dolgov 2006-02-11 15:05:22 +01:00
parent 9d1ef64ea9
commit cd907b7cbf
1 changed files with 17 additions and 13 deletions

View File

@ -703,8 +703,11 @@
if ($subop == "forceUpdateAllFeeds" || $subop == "updateAllFeeds") { if ($subop == "forceUpdateAllFeeds" || $subop == "updateAllFeeds") {
if ($subop == "forceUpdateAllFeeds" && ENABLE_FEED_CATS if (ENABLE_UPDATE_SCHEDULER) {
// FIXME schedule update
} else {
update_all_feeds($link, $subop == "forceUpdateAllFeeds"); update_all_feeds($link, $subop == "forceUpdateAllFeeds");
$omode = $_GET["omode"]; $omode = $_GET["omode"];
@ -721,6 +724,7 @@
getGlobalCounters($link); getGlobalCounters($link);
print "</rpc-reply>"; print "</rpc-reply>";
} }
}
/* GET["cmode"] = 0 - mark as read, 1 - as unread, 2 - toggle */ /* GET["cmode"] = 0 - mark as read, 1 - as unread, 2 - toggle */
if ($subop == "catchupSelected") { if ($subop == "catchupSelected") {