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:
lpsolit%gmail.com 2006-10-22 00:46:21 +00:00
Родитель 61692c68fe
Коммит 8bef119833
1 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -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;