fix DAEMON_REFRESH_ONLY handling

This commit is contained in:
Andrew Dolgov 2005-10-28 10:38:36 +01:00
parent dcee8f6125
commit c5142ccae7
2 changed files with 6 additions and 3 deletions

View File

@ -320,6 +320,7 @@
} }
if ($subop == "forceUpdateAllFeeds" || $subop == "updateAllFeeds") { if ($subop == "forceUpdateAllFeeds" || $subop == "updateAllFeeds") {
update_all_feeds($link, true); update_all_feeds($link, true);
$omode = $_GET["omode"]; $omode = $_GET["omode"];

View File

@ -22,9 +22,11 @@
if (WEB_DEMO_MODE) return; if (WEB_DEMO_MODE) return;
if (! ($_GET["daemon"] && DAEMON_REFRESH_ONLY)) { if (DAEMON_REFRESH_ONLY) {
if (!$_GET["daemon"]) {
return; return;
} }
}
db_query($link, "BEGIN"); db_query($link, "BEGIN");