From 09e8bdfd18f81e432c5f392e398b8c8088168721 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 13 Dec 2011 19:20:26 +0400 Subject: simplify default global config, expand sanity_check messages --- include/rssfuncs.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/rssfuncs.php') diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 3dbcb34b2..7588428de 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 -- cgit v1.2.3-54-g00ecf