]> git.mxchange.org Git - mailer.git/blobdiff - inc/fix_filters.php
The cache should be rebuilded after purging dublicate entries from the filters table
[mailer.git] / inc / fix_filters.php
index 60611539a2aaf924b21670c7911de537e8eb9102..d29a1c323bf975ff22836f6b5668adf5786f794b 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
                                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.');
 } else {
        // @TODO Why does this happen? In installation phase of sql_patches?
        debug_report_bug(basename(__FILE__) . ' did run with no filters in database.');