зеркало из https://github.com/mozilla/pjs.git
Bug 357474: whine.pl says "email address has not been properly set" with default parameters - Patch by Cedric Caron <cedric.caron@citycable.ch> r=LpSolit a=justdave
This commit is contained in:
Родитель
61692c68fe
Коммит
8bef119833
|
@ -97,11 +97,6 @@ my $sth_schedules_by_event = $dbh->prepare(
|
||||||
# Bugzilla-originated mail appears to come from a single address.
|
# Bugzilla-originated mail appears to come from a single address.
|
||||||
my $fromaddress = Bugzilla->params->{'mailfrom'};
|
my $fromaddress = Bugzilla->params->{'mailfrom'};
|
||||||
|
|
||||||
if ($fromaddress !~ Bugzilla->params->{'emailregexp'}) {
|
|
||||||
die "Cannot run. " .
|
|
||||||
"The Bugzilla email address has not been properly set!\n";
|
|
||||||
}
|
|
||||||
|
|
||||||
# get the current date and time
|
# get the current date and time
|
||||||
my ($now_sec, $now_minute, $now_hour, $now_day, $now_month, $now_year,
|
my ($now_sec, $now_minute, $now_hour, $now_day, $now_month, $now_year,
|
||||||
$now_weekday) = localtime;
|
$now_weekday) = localtime;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче