X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=include%2Frssfuncs.php;h=7588428de958b14d1838c45e1c5cf54599bf840e;hb=66be620a87aa93a1f9cc3e956942026ce31f2207;hp=3dbcb34b2fc41fb8b65d508c7d854f105764e0be;hpb=791780621ba963a3d09ee5299e85e72905c3ff99;p=tt-rss.git diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 3dbcb34b..7588428d 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -1,4 +1,8 @@ 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 { @@ -143,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