--- C:\Documents and Settings\Admin\My Documents\hpugoa\branch\dev\modules\system.module Wed Mar 23 14:39:14 2005 +++ Z:\drupal\modules\system.module Wed Mar 23 14:38:51 2005 @@ -258,7 +258,6 @@ * Inventory theme engines and insert entries for them into the system table */ function system_theme_engine_inventory($directory) { - global $theme_engine; $engines = array(); // Remove all theme engines from the system table @@ -269,8 +268,6 @@ foreach ($files as $filename => $file) { module_set_filename($file->name, $filename); - - if (stristr($theme_engine,$file->name)===false) module_load($file->name); $info = new StdClass();