diff options
author | Koosha Khajeh Moogahi <koosha.khajeh@gmail.com> | 2012-09-20 20:21:04 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2012-09-20 20:21:04 +0200 |
commit | 8bc92049518f57d645b1e3290667c21d502d0d56 (patch) | |
tree | 269bc7d2b60377a035d139062cbbb7e8935801e3 /summarize_time.cgi | |
parent | c658f1b025d74ae9b4c7716d81377b68a1cc5a52 (diff) | |
download | bugzilla-8bc92049518f57d645b1e3290667c21d502d0d56.tar.gz bugzilla-8bc92049518f57d645b1e3290667c21d502d0d56.tar.xz |
Bug 450546: Use visible_bugs() where appropriate instead of/in combination with can_see_bug() to improve performance
r/a=LpSolit
Diffstat (limited to 'summarize_time.cgi')
-rwxr-xr-x | summarize_time.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/summarize_time.cgi b/summarize_time.cgi index e06d3257d..d77634da5 100755 --- a/summarize_time.cgi +++ b/summarize_time.cgi @@ -275,7 +275,7 @@ if ($do_report) { function=>"summarize_time"}); } @bugs = get_blocker_ids($bugs[0]); - @bugs = grep { $user->can_see_bug($_) } @bugs; + @bugs = @{ $user->visible_bugs(\@bugs) }; } $start_date = trim $cgi->param('start_date'); |