diff options
author | Byron Jones <glob@mozilla.com> | 2014-03-17 17:33:52 +0100 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-03-17 17:33:52 +0100 |
commit | 013e8740fef579fa7ec6271d39224d91d509bd88 (patch) | |
tree | 1eb869cbafc32193cf5b3346e321985b40555382 /token.cgi | |
parent | fa99f05b2e7074e88efea8a0fb4f0c51de77b3e1 (diff) | |
download | bugzilla-013e8740fef579fa7ec6271d39224d91d509bd88.tar.gz bugzilla-013e8740fef579fa7ec6271d39224d91d509bd88.tar.xz |
Bug 983549: changes to the profiles table in token.cgi are not clearing memcached entries
Diffstat (limited to 'token.cgi')
-rwxr-xr-x | token.cgi | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -226,6 +226,7 @@ sub changePassword { SET cryptpassword = ? WHERE userid = ?}, undef, ($cryptedpassword, $userid) ); + Bugzilla->memcached->clear({ table => 'profiles', id => $userid }); $dbh->do('DELETE FROM tokens WHERE token = ?', undef, $token); $dbh->bz_commit_transaction(); @@ -276,6 +277,7 @@ sub changeEmail { SET login_name = ? WHERE userid = ?}, undef, ($new_email, $userid)); + Bugzilla->memcached->clear({ table => 'profiles', id => $userid }); $dbh->do('DELETE FROM tokens WHERE token = ?', undef, $token); $dbh->do(q{DELETE FROM tokens WHERE userid = ? AND tokentype = 'emailnew'}, undef, $userid); @@ -325,6 +327,7 @@ sub cancelChangeEmail { SET login_name = ? WHERE userid = ?}, undef, ($old_email, $userid)); + Bugzilla->memcached->clear({ table => 'profiles', id => $userid }); # email has changed, so rederive groups |