Index: importexportapi.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/importexportapi/importexportapi.module,v retrieving revision 1.52 diff -u -p -r1.52 importexportapi.module --- importexportapi.module 7 Feb 2007 13:19:13 -0000 1.52 +++ importexportapi.module 8 Feb 2007 09:40:40 -0000 @@ -956,13 +956,13 @@ function _importexportapi_include_core_d // Acknowledgement: below code based on similar code in the views module. // Load all our module 'on behalfs'. $path = drupal_get_path('module', 'importexportapi') .'/definitions'; - $files = system_listing('importexportapi_.*\.inc$', $path, 'name', 0); + $files = drupal_system_listing('importexportapi_.*\.inc$', $path, 'name', 0); foreach ($files as $file) { // The filename format is very specific. It must be // importexportapi_MODULENAME.inc $module = substr_replace($file->name, '', 0, 16); - if (module_exist($module)) { + if (module_exists($module)) { require_once('./'. $file->filename); } } @@ -974,7 +974,7 @@ function _importexportapi_include_core_d */ function _importexportapi_include_core_engines() { $path = drupal_get_path('module', 'importexportapi') .'/engines'; - $files = system_listing('importexportapi_.*\.inc$', $path, 'name', 0); + $files = drupal_system_listing('importexportapi_.*\.inc$', $path, 'name', 0); $engines = importexportapi_engines_get_put(); $engine_names = array(); @@ -1000,7 +1000,7 @@ function _importexportapi_include_core_f // Acknowledgement: below code based on similar code in the views module. // Load all our module 'on behalfs'. $path = drupal_get_path('module', 'importexportapi') .'/fields'; - $files = system_listing('importexportapi_.*\.inc$', $path, 'name', 0); + $files = drupal_system_listing('importexportapi_.*\.inc$', $path, 'name', 0); $fields = importexportapi_get_field_type_info(); foreach ($files as $file) {