#360104 by drewish: Allow taxomomy module to be uninstalled.
parent
cd9794bea7
commit
9e8bfddf29
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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().
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue