The cache should be rebuilded after purging dublicate entries from the filters table
[mailer.git] / inc / fix_filters.php
index 6061153..d29a1c3 100644 (file)
@@ -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.');