diff options
author | Dylan Hardison <dylan@mozilla.com> | 2016-02-26 14:56:16 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2016-02-26 17:45:14 +0100 |
commit | 09ff147a1c3acf3fa16be5a9dce8b8658dbd5819 (patch) | |
tree | aa2bff20fdd837ed0fa27b67835bfbb9857e3155 /Bugzilla/Milestone.pm | |
parent | acf546d91e5e14002abf149bf500666a09765031 (diff) | |
download | bugzilla-09ff147a1c3acf3fa16be5a9dce8b8658dbd5819.tar.gz bugzilla-09ff147a1c3acf3fa16be5a9dce8b8658dbd5819.tar.xz |
Bug 1251221 - Pass cache => 1 to calls to Bugzilla::Product->new() called in Bugzilla::{Milestone,Version,Component}
r=dkl,a=dylan
Diffstat (limited to 'Bugzilla/Milestone.pm')
-rw-r--r-- | Bugzilla/Milestone.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Milestone.pm b/Bugzilla/Milestone.pm index d8fcd79a5..78eacb3e9 100644 --- a/Bugzilla/Milestone.pm +++ b/Bugzilla/Milestone.pm @@ -245,7 +245,7 @@ sub product { my $self = shift; require Bugzilla::Product; - $self->{'product'} ||= new Bugzilla::Product($self->product_id); + $self->{'product'} ||= Bugzilla::Product->new({ id => $self->product_id, cache => 1 }); return $self->{'product'}; } |