Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
bec7e429
Commit
bec7e429
authored
Mar 18, 2010
by
Max Kanat-Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 553255: Make config.cgi use Bugzilla::Product::preload, for a small
performance improvement r=gerv, a=mkanat
parent
d0b17e98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
config.cgi
config.cgi
+4
-0
No files found.
config.cgi
View file @
bec7e429
...
@@ -35,8 +35,10 @@ use Bugzilla;
...
@@ -35,8 +35,10 @@ use Bugzilla;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
Keyword
;
use
Bugzilla::
Keyword
;
use
Bugzilla::
Product
;
use
Bugzilla::
Status
;
use
Bugzilla::
Status
;
use
Bugzilla::
Field
;
use
Bugzilla::
Field
;
use
Digest::
MD5
qw(md5_base64)
;
use
Digest::
MD5
qw(md5_base64)
;
my
$user
=
Bugzilla
->
login
(
LOGIN_OPTIONAL
);
my
$user
=
Bugzilla
->
login
(
LOGIN_OPTIONAL
);
...
@@ -79,6 +81,8 @@ if ($cgi->param('product')) {
...
@@ -79,6 +81,8 @@ if ($cgi->param('product')) {
$vars
->
{
'products'
}
=
$user
->
get_selectable_products
;
$vars
->
{
'products'
}
=
$user
->
get_selectable_products
;
}
}
Bugzilla::Product::
preload
(
$vars
->
{
'products'
});
# Create separate lists of open versus resolved statuses. This should really
# Create separate lists of open versus resolved statuses. This should really
# be made part of the configuration.
# be made part of the configuration.
my
@open_status
;
my
@open_status
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment