diff options
author | mkanat%bugzilla.org <> | 2006-12-19 15:39:28 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-12-19 15:39:28 +0100 |
commit | b7c87a7217ea157c1305526e6d62c94d5ef8d36f (patch) | |
tree | a942b707cbc40dafc52de0cb8dace9cd7c73e82d /Bugzilla/User.pm | |
parent | 6255b0849421911afd419077f50de44f4ed9a1d8 (diff) | |
download | bugzilla-b7c87a7217ea157c1305526e6d62c94d5ef8d36f.tar.gz bugzilla-b7c87a7217ea157c1305526e6d62c94d5ef8d36f.tar.xz |
Bug 339380: Make Bugzilla::Component use Bugzilla::Object
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r-- | Bugzilla/User.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 05b96dd29..a4ff44331 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -931,10 +931,7 @@ sub product_responsibilities { # We cannot |use| it, because Component.pm already |use|s User.pm. require Bugzilla::Component; - my @components; - push(@components, new Bugzilla::Component($_)) foreach (@$comp_ids); - - $self->{'product_resp'} = \@components; + $self->{'product_resp'} = Bugzilla::Component->new_from_list($comp_ids); return $self->{'product_resp'}; } |