diff options
author | 2014-08-12 14:05:32 +0800 | |
---|---|---|
committer | 2014-08-12 14:05:32 +0800 | |
commit | c19dc4ffe98074bedb780652af581a1f0edb3b2d (patch) | |
tree | 8565697b853e6d9cc84e9e3536b3fcb90d46bb6c /userprefs.cgi | |
parent | Bug 419568 - Web Service module to create a component (diff) | |
download | bugzilla-c19dc4ffe98074bedb780652af581a1f0edb3b2d.tar.gz bugzilla-c19dc4ffe98074bedb780652af581a1f0edb3b2d.tar.bz2 bugzilla-c19dc4ffe98074bedb780652af581a1f0edb3b2d.zip |
Bug 993926: Bugzilla::User::Setting::get_all_settings() should use memcached
r=sgreen,a=glob
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-x | userprefs.cgi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/userprefs.cgi b/userprefs.cgi index 13f817d53..f798d4c76 100755 --- a/userprefs.cgi +++ b/userprefs.cgi @@ -19,6 +19,7 @@ use Bugzilla::Util; use Bugzilla::Error; use Bugzilla::User; use Bugzilla::User::APIKey; +use Bugzilla::User::Setting qw(clear_settings_cache); use Bugzilla::Token; my $template = Bugzilla->template; @@ -170,6 +171,7 @@ sub SaveSettings { } } $vars->{'settings'} = $user->settings(1); + clear_settings_cache($user->id); } sub DoEmail { |