summaryrefslogtreecommitdiffstats
path: root/userprefs.cgi
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-08-12 08:05:32 +0200
committerByron Jones <glob@mozilla.com>2014-08-12 08:05:32 +0200
commitc19dc4ffe98074bedb780652af581a1f0edb3b2d (patch)
tree8565697b853e6d9cc84e9e3536b3fcb90d46bb6c /userprefs.cgi
parent8b98912309870c03c4b82396647682a8d9f247b4 (diff)
downloadbugzilla-c19dc4ffe98074bedb780652af581a1f0edb3b2d.tar.gz
bugzilla-c19dc4ffe98074bedb780652af581a1f0edb3b2d.tar.xz
Bug 993926: Bugzilla::User::Setting::get_all_settings() should use memcached
r=sgreen,a=glob
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi2
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 {