diff options
| author | Andrew Dolgov <fox@bah.spb.su> | 2006-08-22 11:12:19 +0100 |
|---|---|---|
| committer | Andrew Dolgov <fox@bah.spb.su> | 2006-08-22 11:12:19 +0100 |
| commit | 1ddba2752795ec35a82645af5a1f2bcd59ada54a (patch) | |
| tree | 2c0890b326b71409b09cccec14b35b26100c46a4 /functions.php | |
| parent | a283b8d13e68921f27531994a331564a8a04020c (diff) | |
add global option DIGEST_ENABLE
Diffstat (limited to 'functions.php')
| -rw-r--r-- | functions.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/functions.php b/functions.php index 52e997aed..2b4b3bcd1 100644 --- a/functions.php +++ b/functions.php @@ -2380,6 +2380,8 @@ function send_headlines_digests($link, $limit = 100) { + if (!DIGEST_ENABLE) return false; + $user_limit = DIGEST_EMAIL_LIMIT; $days = DIGEST_DAYS_BACK; |