1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

DAEMON_REFRESH_ONLY makes a lot more sense as a global option

This commit is contained in:
Andrew Dolgov
2005-11-23 13:26:29 +01:00
parent b83c75451c
commit 30a49c9227
4 changed files with 14 additions and 11 deletions

View File

@@ -91,10 +91,8 @@
purge_old_posts($link);
}
if (get_pref($link, 'DAEMON_REFRESH_ONLY', $user_id)) {
if (!$_GET["daemon"]) {
return;
}
if (DAEMON_REFRESH_ONLY && !$_GET["daemon"]) {
return;
}
db_query($link, "BEGIN");