Index: xmlsitemap_node/xmlsitemap_node.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/xmlsitemap/xmlsitemap_node/xmlsitemap_node.install,v
retrieving revision 1.9.2.46
diff -u -p -r1.9.2.46 xmlsitemap_node.install
--- xmlsitemap_node/xmlsitemap_node.install	11 Mar 2009 16:01:03 -0000	1.9.2.46
+++ xmlsitemap_node/xmlsitemap_node.install	7 Apr 2009 13:10:09 -0000
@@ -79,6 +79,11 @@ function xmlsitemap_node_schema() {
 function xmlsitemap_node_install() {
   drupal_install_schema('xmlsitemap_node');
   db_query("UPDATE {system} SET weight = 5 WHERE name = 'xmlsitemap_node'");
+  module_load_include('inc', 'xmlsitemap_helper', 'includes/xmlsitemap_helper.install');
+  xmlsitemap_helper_add_database_batch_operation(
+    drupal_get_path('module', 'xmlsitemap_node') .'/xmlsitemap_node.install',
+    '_xmlsitemap_node_update_database_batch'
+  );
 }
 
 /**
Index: xmlsitemap_term/xmlsitemap_term.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/xmlsitemap/xmlsitemap_term/xmlsitemap_term.install,v
retrieving revision 1.5.2.36
diff -u -p -r1.5.2.36 xmlsitemap_term.install
--- xmlsitemap_term/xmlsitemap_term.install	28 Mar 2009 19:14:57 -0000	1.5.2.36
+++ xmlsitemap_term/xmlsitemap_term.install	7 Apr 2009 13:10:09 -0000
@@ -79,6 +79,11 @@ function xmlsitemap_term_schema() {
 function xmlsitemap_term_install() {
   drupal_install_schema('xmlsitemap_term');
   db_query("UPDATE {system} SET weight = 10 WHERE name = 'xmlsitemap_term'");
+  module_load_include('inc', 'xmlsitemap_helper', 'includes/xmlsitemap_helper.install');
+  xmlsitemap_helper_add_database_batch_operation(
+    drupal_get_path('module', 'xmlsitemap_term') .'/xmlsitemap_term.install',
+    '_xmlsitemap_term_update_database_batch'
+  );
 }
 
 /**
@@ -336,7 +341,6 @@ function xmlsitemap_term_update_6110() {
  *
  */
 function xmlsitemap_term_update_6111() {
-  drupal_load('module', 'xmlsitemap_helper');
   module_load_include('inc', 'xmlsitemap_helper', 'includes/xmlsitemap_helper.install');
   xmlsitemap_helper_add_database_batch_operation(
     drupal_get_path('module', 'xmlsitemap_term') .'/xmlsitemap_term.install',
@@ -346,6 +350,7 @@ function xmlsitemap_term_update_6111() {
     'success' => TRUE,
     'query' => 'UPDATE {xmlsitemap_term} TABLE',
   );
+  drupal_load('module', 'xmlsitemap_helper');
   xmlsitemap_helper_update_sitemap('xmlsitemap_term');
   $ret[] = array(
     'success' => TRUE,
Index: xmlsitemap_user/xmlsitemap_user.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/xmlsitemap/xmlsitemap_user/xmlsitemap_user.install,v
retrieving revision 1.6.2.43
diff -u -p -r1.6.2.43 xmlsitemap_user.install
--- xmlsitemap_user/xmlsitemap_user.install	11 Mar 2009 16:00:59 -0000	1.6.2.43
+++ xmlsitemap_user/xmlsitemap_user.install	7 Apr 2009 13:10:09 -0000
@@ -98,6 +98,11 @@ function xmlsitemap_user_schema() {
 function xmlsitemap_user_install() {
   drupal_install_schema('xmlsitemap_user');
   db_query("UPDATE {system} SET weight = 10 WHERE name = 'xmlsitemap_user'");
+  module_load_include('inc', 'xmlsitemap_helper', 'includes/xmlsitemap_helper.install');
+  xmlsitemap_helper_add_database_batch_operation(
+    drupal_get_path('module', 'xmlsitemap_user') .'/xmlsitemap_user.install',
+    '_xmlsitemap_user_update_database_batch'
+  );
 }
 
 /**
