1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-17 23:21:32 +00:00

implement preferred time for sending out digests

This commit is contained in:
Andrew Dolgov
2012-01-30 16:34:45 +04:00
parent 33f0fdd0a2
commit 61c1812f29
10 changed files with 83 additions and 51 deletions

View File

@@ -60,6 +60,8 @@
function update_daemon_common($link, $limit = DAEMON_FEED_LIMIT, $from_http = false, $debug = true) {
// Process all other feeds using last_updated and interval parameters
define('PREFS_NO_CACHE', true);
// Test if the user has loggued in recently. If not, it does not update its feeds.
if (!SINGLE_USER_MODE && DAEMON_UPDATE_LOGIN_LIMIT > 0) {
if (DB_TYPE == "pgsql") {