diff options
author | 2005-06-03 04:24:08 +0000 | |
---|---|---|
committer | 2005-06-03 04:24:08 +0000 | |
commit | 79885c830264013233f695b8b66f879ab640bc01 (patch) | |
tree | 4ebcb9099a0dde731afadf3114e7d5310729fb6b /whineatnews.pl | |
parent | Bug 293767: The search page does not use localised terms for statuses and res... (diff) | |
download | bugzilla-79885c830264013233f695b8b66f879ab640bc01.tar.gz bugzilla-79885c830264013233f695b8b66f879ab640bc01.tar.bz2 bugzilla-79885c830264013233f695b8b66f879ab640bc01.zip |
Bug 295213: whine mail still goes out even though whinedays = "0" - Patch by Marc Schumann <wurblzap@gmail.com> r=LpSolit a=myk
Diffstat (limited to 'whineatnews.pl')
-rwxr-xr-x | whineatnews.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/whineatnews.pl b/whineatnews.pl index 286b0c542..16be900ad 100755 --- a/whineatnews.pl +++ b/whineatnews.pl @@ -33,6 +33,9 @@ require "globals.pl"; use Bugzilla::BugMail; +# Whining is disabled if whinedays is zero +exit unless Param('whinedays') >= 1; + my $dbh = Bugzilla->dbh; SendSQL("SELECT bug_id, short_desc, login_name " . "FROM bugs INNER JOIN profiles ON userid = assigned_to " . |