summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/system/system.install2
-rw-r--r--modules/taxonomy/taxonomy.install16
2 files changed, 17 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index db2642679..bef8dcb83 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -330,7 +330,7 @@ function system_install() {
}
// Create tables.
- $modules = array('system', 'filter', 'block', 'user', 'node', 'taxonomy');
+ $modules = array('system', 'filter', 'block', 'user', 'node');
foreach ($modules as $module) {
drupal_install_schema($module);
}
diff --git a/modules/taxonomy/taxonomy.install b/modules/taxonomy/taxonomy.install
index 20c82c7ee..9fc2ad23c 100644
--- a/modules/taxonomy/taxonomy.install
+++ b/modules/taxonomy/taxonomy.install
@@ -1,6 +1,22 @@
<?php
// $Id$
+ /**
+ * Implementation of hook_install().
+ */
+function taxonomy_install() {
+ // Create tables.
+ drupal_install_schema('taxonomy');
+}
+
+/**
+ * Implementation of hook_uninstall().
+ */
+function taxonomy_uninstall() {
+ // Remove tables.
+ drupal_uninstall_schema('taxonomy');
+}
+
/**
* Implementation of hook_schema().
*/