From: Roland Häder <roland@mxchange.org>
Date: Tue, 6 Oct 2009 19:23:20 +0000 (+0000)
Subject: The cache should be rebuilded after purging dublicate entries from the filters table
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=45c111a206d5c49395e0cde4afa21179fb754f27;p=mailer.git

The cache should be rebuilded after purging dublicate entries from the filters table
---

diff --git a/inc/fix_filters.php b/inc/fix_filters.php
index 60611539a2..d29a1c323b 100644
--- a/inc/fix_filters.php
+++ b/inc/fix_filters.php
@@ -64,6 +64,9 @@ if (SQL_NUMROWS($result) > 0) {
 				array($filter['filter_name'], $filter['filter_function'], ($count - 1)), __FILE__, __LINE__);
 		} // END - while
 	} // END - while
+
+	// Rebuild the cache
+	rebuildCacheFiles('filter', 'filter');
 } else {
 	// @TODO Why does this happen? In installation phase of sql_patches?
 	debug_report_bug(basename(__FILE__) . ' did run with no filters in database.');