// Is this extension selected?
if ($active == 1) {
// Run any assigned removal filters
- RUN_FILTER('extension_remove', GET_EXT_NAME($ext_id));
+ runFilterChain('extension_remove', GET_EXT_NAME($ext_id));
// Run embeded SQL commands
EXTENSION_RUN_SQLS($ext_id, "remove");
// Remove cache file (will be auto-created again!)
if ($GLOBALS['cache_instance']->loadCacheFile("config")) $GLOBALS['cache_instance']->destroyCacheFile();
if ($GLOBALS['cache_instance']->loadCacheFile("extensions", true)) $GLOBALS['cache_instance']->destroyCacheFile();
- if ($GLOBALS['cache_instance']->loadCacheFile("mod_reg")) $GLOBALS['cache_instance']->destroyCacheFile();
+ if ($GLOBALS['cache_instance']->loadCacheFile("modreg")) $GLOBALS['cache_instance']->destroyCacheFile();
} // END - if
} elseif (GET_EXT_VERSION($ext_name) != "") {
// Notify the admin that we have a problem here...