X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=include%2Frssfuncs.php;h=7588428de958b14d1838c45e1c5cf54599bf840e;hb=66be620a87aa93a1f9cc3e956942026ce31f2207;hp=8846d985fb52cf571cd484cc40bebee2828565d8;hpb=2c08214a7f4dd693cb401714412b7a1ad635ed41;p=tt-rss.git diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 8846d985..7588428d 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -1,4 +1,50 @@ 0) { + if (!SINGLE_USER_MODE && DAEMON_UPDATE_LOGIN_LIMIT > 0) { if (DB_TYPE == "pgsql") { $login_thresh_qpart = "AND ttrss_users.last_login >= NOW() - INTERVAL '".DAEMON_UPDATE_LOGIN_LIMIT." days'"; } else { @@ -101,7 +147,7 @@ } // Send feed digests by email if needed. - if (DAEMON_SENDS_DIGESTS) send_headlines_digests($link); + send_headlines_digests($link); } // function update_daemon_common