#360104 by drewish: Allow taxomomy module to be uninstalled.

merge-requests/26/head
Angie Byron 2009-01-19 01:53:26 +00:00
parent cd9794bea7
commit 9e8bfddf29
2 changed files with 17 additions and 1 deletions

View File

@ -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);
}

View File

@ -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().
*/