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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
b5b5061c
Commit
b5b5061c
authored
May 28, 2014
by
Byron Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 993939: Bugzilla::User::Setting::groups() should use memcached
parent
6d730fae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Memcached.pm
Bugzilla/Memcached.pm
+1
-1
User.pm
Bugzilla/User.pm
+1
-1
No files found.
Bugzilla/Memcached.pm
View file @
b5b5061c
...
...
@@ -166,11 +166,11 @@ sub clear_all {
sub
clear_config
{
my
(
$self
,
$args
)
=
@_
;
return
unless
$self
->
{
memcached
};
if
(
$args
&&
exists
$args
->
{
key
})
{
$self
->
_delete
(
$self
->
_config_prefix
.
'.'
.
$args
->
{
key
});
}
else
{
return
unless
$self
->
{
memcached
};
$self
->
_inc_prefix
(
"config"
);
}
}
...
...
Bugzilla/User.pm
View file @
b5b5061c
...
...
@@ -668,8 +668,8 @@ sub flush_queries_cache {
sub
groups
{
my
$self
=
shift
;
return
[]
unless
$self
->
id
;
return
$self
->
{
groups
}
if
defined
$self
->
{
groups
};
return
[]
unless
$self
->
id
;
my
$user_groups_key
=
"user_groups."
.
$self
->
id
;
my
$groups
=
Bugzilla
->
memcached
->
get_config
({
...
...
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