Bug 342238: There is a dependency loop between Bugzilla::User and Bugzilla::Component

Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bkor, a=myk
This commit is contained in:
mkanat%bugzilla.org 2006-07-09 05:00:20 +00:00
parent fdcede02a1
commit e917d1d452

View File

@ -18,7 +18,6 @@ use strict;
package Bugzilla::Product;
use Bugzilla::Component;
use Bugzilla::Version;
use Bugzilla::Milestone;
@ -107,6 +106,7 @@ sub components {
ORDER BY name}, undef, $self->id);
my @components;
require Bugzilla::Component;
foreach my $id (@$ids) {
push @components, new Bugzilla::Component($id);
}