fix DAEMON_REFRESH_ONLY handling
This commit is contained in:
parent
dcee8f6125
commit
c5142ccae7
|
@ -320,6 +320,7 @@
|
|||
}
|
||||
|
||||
if ($subop == "forceUpdateAllFeeds" || $subop == "updateAllFeeds") {
|
||||
|
||||
update_all_feeds($link, true);
|
||||
|
||||
$omode = $_GET["omode"];
|
||||
|
|
|
@ -22,9 +22,11 @@
|
|||
|
||||
if (WEB_DEMO_MODE) return;
|
||||
|
||||
if (! ($_GET["daemon"] && DAEMON_REFRESH_ONLY)) {
|
||||
if (DAEMON_REFRESH_ONLY) {
|
||||
if (!$_GET["daemon"]) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
db_query($link, "BEGIN");
|
||||
|
||||
|
|
Loading…
Reference in New Issue