} // END - if
// Destroy the cache on extension changes
-function FILTER_CACHE_DESTROY_ON_EXT_CHANGE ($data) {
+function FILTER_CACHE_DESTROY_ON_EXT_CHANGE ($filterData) {
// Return the data anyway if there is no cache extension
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
if (!isCacheInstanceValid()) {
// Return it
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
- return $data;
+ return $filterData;
}
// Destroy the cache on changing admin
-function FILTER_CACHE_DESTROY_ON_ADMIN_CHANGE ($data) {
+function FILTER_CACHE_DESTROY_ON_ADMIN_CHANGE ($filterData) {
// Skip this step if the cache instance is not there
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
if (!isCacheInstanceValid()) {
// Return the data
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
- return $data;
+ return $filterData;
}
// Destroy all cache files
-function FILTER_CACHE_DESTROY_ALL ($data) {
+function FILTER_CACHE_DESTROY_ALL ($filterData) {
// Skip this step if the cache instance is not there
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
if (!isCacheInstanceValid()) {
} // END - foreach
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
- return $data;
+ return $filterData;
}
// Filter for purging 'filter' cache
-function FILTER_CACHE_DESTROY_FILTER ($data) {
+function FILTER_CACHE_DESTROY_FILTER ($filterData) {
// Skip this step if the cache instance is not there
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
if ((!isCacheInstanceValid()) || ((isConfigEntrySet('update_filter_usage')) && (getConfig('update_filter_usage') != 'Y'))) {
} // END - if
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
- return $data;
+ return $filterData;
}
// [EOF]