summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
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";