mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 211758: checksetup.pl was trying to use params that didn't exist yet because it was loading Bugzilla::Series at compile time (use). Now pulls in Bugzilla::Series at runtime (require) after initializing the params.
Patch by Brad Roberts <braddr@puremagic.com> r= justdave, a= justdave
This commit is contained in:
parent
c0d3c15a88
commit
a60677927e
@ -3577,7 +3577,7 @@ my $series_exists = $dbh->selectrow_array("SELECT 1 FROM series LIMIT 1");
|
||||
if (!$series_exists) {
|
||||
print "Migrating old chart data into database ...\n" unless $silent;
|
||||
|
||||
use Bugzilla::Series;
|
||||
require Bugzilla::Series;
|
||||
|
||||
# We prepare the handle to insert the series data
|
||||
my$seriesdatasth = $dbh->prepare("INSERT INTO series_data " .
|
||||
|
Loading…
Reference in New Issue
Block a user