]> git.wh0rd.org - tt-rss.git/blobdiff - functions.php
add global option DIGEST_ENABLE
[tt-rss.git] / functions.php
index 52e997aedb0981377b3b2401f15aa5a4db3840bb..2b4b3bcd197262d372d50db411924296b328710b 100644 (file)
 
        function send_headlines_digests($link, $limit = 100) {
 
+               if (!DIGEST_ENABLE) return false;
+
                $user_limit = DIGEST_EMAIL_LIMIT;
                $days = DIGEST_DAYS_BACK;