summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth/Verify.pm
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2014-01-31 08:18:51 +0100
committerByron Jones <bjones@mozilla.com>2014-01-31 08:18:51 +0100
commitc5464b5bb7dfece2bad2b8af9eba4d9b6d07d778 (patch)
tree092c3a3ecb3152aba305c8ec4323056fc27865e2 /Bugzilla/Auth/Verify.pm
parentcbd6506533f7370ba27c6928e887889627acb6b9 (diff)
downloadbugzilla-c5464b5bb7dfece2bad2b8af9eba4d9b6d07d778.tar.gz
bugzilla-c5464b5bb7dfece2bad2b8af9eba4d9b6d07d778.tar.xz
Bug 956233: enable USE_MEMCACHE on most objects
r=dkl, a=glob
Diffstat (limited to 'Bugzilla/Auth/Verify.pm')
-rw-r--r--Bugzilla/Auth/Verify.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Auth/Verify.pm b/Bugzilla/Auth/Verify.pm
index 0c552f40b..ecb64e22a 100644
--- a/Bugzilla/Auth/Verify.pm
+++ b/Bugzilla/Auth/Verify.pm
@@ -89,6 +89,7 @@ sub create_or_update_user {
if ($extern_id && $username_user_id && !$extern_user_id) {
$dbh->do('UPDATE profiles SET extern_id = ? WHERE userid = ?',
undef, $extern_id, $username_user_id);
+ Bugzilla->memcached->clear({ table => 'profiles', id => $username_user_id });
}
# Finally, at this point, one of these will give us a valid user id.