]> git.mxchange.org Git - mailer.git/commitdiff
The cache should be rebuilded after purging dublicate entries from the filters table
authorRoland Häder <roland@mxchange.org>
Tue, 6 Oct 2009 19:23:20 +0000 (19:23 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 6 Oct 2009 19:23:20 +0000 (19:23 +0000)
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
+
+       // 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.');