mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
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:
parent
fdcede02a1
commit
e917d1d452
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user