From 461d51d5078bd9971593296dbc35d3e37e48df9b Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 10 Apr 2009 09:36:43 +0000 Subject: 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 r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Install.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Bugzilla/Install.pm') 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) -- cgit v1.2.3-24-g4f1b