From 1ddba2752795ec35a82645af5a1f2bcd59ada54a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 22 Aug 2006 11:12:19 +0100 Subject: add global option DIGEST_ENABLE --- functions.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'functions.php') 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; -- cgit v1.2.3-54-g00ecf