// Skip loading extensions
if ((!isInstalled()) || (isInstalling())) {
// Init filter system here
- INIT_FILTER_SYSTEM();
+ initFilterSystem();
// Skip loading
return;
} // END - foreach
// Init filter system
- INIT_FILTER_SYSTEM();
+ initFilterSystem();
// Load more cache files (like admins)
loadIncludeOnce('inc/load_cache.php');
} // END - while
// Init filter system
- INIT_FILTER_SYSTEM();
+ initFilterSystem();
if ($GLOBALS['cache_mode'] == 'init') {
// Close cache file
SQL_FREERESULT($res_ext_crt);
} elseif (!EXT_IS_ACTIVE('cache')) {
// Init filter system even when there are no extensions installed. #16
- INIT_FILTER_SYSTEM();
+ initFilterSystem();
}
// Run the filter
foreach ($DEL as $del_ext) {
// First remove entry from extensions table
SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{!_MYSQL_PREFIX!}_extensions` WHERE `ext_name`='%s' LIMIT 1",
- array($del_ext), __FILE__, __LINE__);
+ array($del_ext), __FILE__, __LINE__);
// Remove (maybe?) found tasks (main task and possible updates
SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{!_MYSQL_PREFIX!}_task_system` WHERE subject='[%s:]' AND (task_type='EXTENSION' OR task_type='EXTENSION_UPDATE')",
- array($del_ext), __FILE__, __LINE__);
+ array($del_ext), __FILE__, __LINE__);
} // END - foreach
// I think it's not neccessary to run the optimization function here