Index: taxonomy_export.pages.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/taxonomy_export/taxonomy_export.pages.inc,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 taxonomy_export.pages.inc
--- taxonomy_export.pages.inc	19 Jun 2009 17:33:40 -0000	1.1.2.1
+++ taxonomy_export.pages.inc	26 Oct 2009 10:49:02 -0000
@@ -69,10 +69,13 @@
   $export = array();
 
   $vocabulary = taxonomy_vocabulary_load($form_state['values']['vid']);
+  taxonomy_export_invoke_process('export vocabulary', $vocabulary);
+  
   $munged_vocabulary_name = strtolower(preg_replace('/[^A-Za-z0-9-]/', '_', $vocabulary->name));
 
   if ($form_state['values']['include_terms']) {
     $terms = taxonomy_get_tree($vocabulary->vid);
+    taxonomy_export_invoke_process('export terms', $terms);
   }
 
   $export  = "<?php\n";
@@ -165,6 +168,7 @@
     // unsupported, new vocabularies will always be created.
     $vocabulary['vid'] = NULL;
     taxonomy_save_vocabulary($vocabulary);
+    taxonomy_export_invoke_process('import vocabulary', $vocabulary);
 
     drupal_set_message(t("Vocabulary '%name' imported successfully.", array('%name' => $vocabulary['name'])));
   }
@@ -184,6 +188,7 @@
       $term_array['vid'] = $vocabulary['vid'];
       $term_array['parent'] = array(0 => 0);
       taxonomy_save_term($term_array);
+      taxonomy_export_invoke_process('import term', $term_array);
 
       // Update the original $taxonomy_export structure with the new TID,
       // VID, and parent attributes.

