summaryrefslogtreecommitdiffstats
path: root/contrib/reorg-tools/syncflags.pl
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/reorg-tools/syncflags.pl')
-rwxr-xr-xcontrib/reorg-tools/syncflags.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/reorg-tools/syncflags.pl b/contrib/reorg-tools/syncflags.pl
index 6c5b8293a..8e039f7bb 100755
--- a/contrib/reorg-tools/syncflags.pl
+++ b/contrib/reorg-tools/syncflags.pl
@@ -83,4 +83,6 @@ $dbh->do("INSERT INTO flaginclusions(component_id, type_id, product_id)
undef,
$tgtprodid, $tgtprodid, $srcprodid);
-exit(0);
+# It's complex to determine which items now need to be flushed from memcached.
+# As this is expected to be a rare event, we just flush the entire cache.
+Bugzilla->memcached->clear_all();