mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Bug 295213: whine mail still goes out even though whinedays = "0" - Patch by Marc Schumann <wurblzap@gmail.com> r=LpSolit a=myk
This commit is contained in:
parent
053fdad9a0
commit
72f59e46ed
@ -770,8 +770,9 @@ Configure bugmail: %urlbase%userprefs.cgi?tab=email
|
||||
|
||||
{
|
||||
name => 'whinedays',
|
||||
desc => 'The number of days that we\'ll let a bug sit untouched in a NEW ' .
|
||||
'state before our cronjob will whine at the owner.',
|
||||
desc => q{The number of days that we'll let a bug sit untouched in a NEW
|
||||
state before our cronjob will whine at the owner.<br>
|
||||
Set to 0 to disable whining.},
|
||||
type => 't',
|
||||
default => 7
|
||||
},
|
||||
|
@ -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 " .
|
||||
|
Loading…
x
Reference in New Issue
Block a user