diff options
author | lpsolit%gmail.com <> | 2009-04-10 11:36:43 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-04-10 11:36:43 +0200 |
commit | 461d51d5078bd9971593296dbc35d3e37e48df9b (patch) | |
tree | eaf3ebb004f28d3a3e91f6f7f1f9d81cca89bbe6 /Bugzilla/Install.pm | |
parent | cec56973dd19c6b949d549d30d4375b76de50e27 (diff) | |
download | bugzilla-461d51d5078bd9971593296dbc35d3e37e48df9b.tar.gz bugzilla-461d51d5078bd9971593296dbc35d3e37e48df9b.tar.xz |
Bug 471871: Bugzilla::Version has duplicated code compared to Bugzilla::Object (make Bugzilla::Version really a subclass of Bugzilla::Object) - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla/Install.pm')
-rw-r--r-- | Bugzilla/Install.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Install.pm b/Bugzilla/Install.pm index 0a1f0e955..8365f4182 100644 --- a/Bugzilla/Install.pm +++ b/Bugzilla/Install.pm @@ -240,7 +240,8 @@ sub create_default_product { my $product = new Bugzilla::Product({name => $default_prod->{name}}); # The default version. - Bugzilla::Version::create(Bugzilla::Version::DEFAULT_VERSION, $product); + Bugzilla::Version->create({name => Bugzilla::Version::DEFAULT_VERSION, + product => $product}); # And we automatically insert the default milestone. $dbh->do(q{INSERT INTO milestones (product_id, value, sortkey) |