diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-05-14 16:20:05 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-05-14 16:20:05 +0200 |
commit | 80130158d4f4baa47cf1212cf28da1dc84b9d096 (patch) | |
tree | ddedf8e9ae4058e63d08ceb7cbace75a57bd0834 /Bugzilla/Migrate.pm | |
parent | 8bc37c2d851e06b036c8f895582fedd7051b3592 (diff) | |
download | bugzilla-80130158d4f4baa47cf1212cf28da1dc84b9d096.tar.gz bugzilla-80130158d4f4baa47cf1212cf28da1dc84b9d096.tar.xz |
Bug 556731 - Make Bugzilla::Milestone, Bugzilla::Version, and
Bugzilla::Component use VALIDATOR_DEPENDENCIES instead of UPDATE_VALIDATORS
r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/Migrate.pm')
-rw-r--r-- | Bugzilla/Migrate.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/Migrate.pm b/Bugzilla/Migrate.pm index 6c353357d..2ae638e4f 100644 --- a/Bugzilla/Migrate.pm +++ b/Bugzilla/Migrate.pm @@ -654,7 +654,7 @@ sub create_legal_values { next if new Bugzilla::Version({ product => $prod_obj, name => $version }); my $created = Bugzilla::Version->create({ product => $prod_obj, - name => $version }); + value => $version }); my $field = $self->bug_fields->{version}; print get_text('migrate_value_created', { product => $prod_obj, field => $field, @@ -663,8 +663,8 @@ sub create_legal_values { foreach my $milestone (keys %{ $product_values{$product}->{target_milestone} }) { next if new Bugzilla::Milestone({ product => $prod_obj, name => $milestone }); - my $created = Bugzilla::Milestone->create({ product => $prod_obj, - name => $milestone }); + my $created = Bugzilla::Milestone->create( + { product => $prod_obj, value => $milestone }); my $field = $self->bug_fields->{target_milestone}; print get_text('migrate_value_created', { product => $prod_obj, field => $field, |