summaryrefslogtreecommitdiffstats
path: root/userprefs.cgi
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-08-12 08:09:46 +0200
committerByron Jones <glob@mozilla.com>2014-08-12 08:09:46 +0200
commitbc450dc015ffc325b10d9ffdf59a9b00f82cf70f (patch)
treecd1a476c6d816a883ae8a6477b15bc9e4e7c8d30 /userprefs.cgi
parent2f5c78b7362cc604f341bb1d3a2c4d486f19ce5c (diff)
downloadbugzilla-bc450dc015ffc325b10d9ffdf59a9b00f82cf70f.tar.gz
bugzilla-bc450dc015ffc325b10d9ffdf59a9b00f82cf70f.tar.xz
Bug 993926: Bugzilla::User::Setting::get_all_settings() should use memcached
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 a4083a981..d33de74ad 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -33,6 +33,7 @@ use Bugzilla::Search;
use Bugzilla::Util;
use Bugzilla::Error;
use Bugzilla::User;
+use Bugzilla::User::Setting qw(clear_settings_cache);
use Bugzilla::Token;
my $template = Bugzilla->template;
@@ -185,6 +186,7 @@ sub SaveSettings {
}
}
$vars->{'settings'} = $user->settings(1);
+ clear_settings_cache($user->id);
}
sub DoEmail {