SQL_FREERESULT($res_ext_crt);
} // END - if
-// Load include files if found
-if (!empty($INC_POOL[0])) {
- foreach ($INC_POOL as $inc) {
- require_once($inc);
- } // END - foreach
-
- // Remove array
- unset($INC_POOL);
-} // END - if
+// Run the filter
+RUN_FILTER('load_includes');
// Uninstall extensions that are no longer in our system
if (!empty($DEL[0])) {
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 LIKE '[%s:]%%' AND (task_type='EXTENSION' OR task_type='EXTENSION_UPDATE')",
+ 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__);
} // END - foreach