projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
509ae61
)
The cache should be rebuilded after purging dublicate entries from the filters table
author
Roland Häder
<roland@mxchange.org>
Tue, 6 Oct 2009 19:23:20 +0000
(19:23 +0000)
committer
Roland Häder
<roland@mxchange.org>
Tue, 6 Oct 2009 19:23:20 +0000
(19:23 +0000)
inc/fix_filters.php
patch
|
blob
|
history
diff --git
a/inc/fix_filters.php
b/inc/fix_filters.php
index 60611539a2aaf924b21670c7911de537e8eb9102..d29a1c323bf975ff22836f6b5668adf5786f794b 100644
(file)
--- 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
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.');