summaryrefslogtreecommitdiffstats
path: root/contrib
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 /contrib
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 'contrib')
-rwxr-xr-xcontrib/merge-users.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/merge-users.pl b/contrib/merge-users.pl
index 19cb8d4c9..eb205cac2 100755
--- a/contrib/merge-users.pl
+++ b/contrib/merge-users.pl
@@ -222,4 +222,9 @@ $user->derive_regexp_groups();
# Commit the transaction
$dbh->bz_commit_transaction();
+# It's complex to determine which items now need to be flushed from memcached.
+# As user merge is expected to be a rare event, we just flush the entire cache
+# when users are merged.
+Bugzilla->memcached->clear_all();
+
print "Done.\n";