summaryrefslogtreecommitdiff
path: root/modules/forum/forum.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-09-10 06:38:20 +0000
committerDries Buytaert <dries@buytaert.net>2009-09-10 06:38:20 +0000
commit029c48c68d7f4f2bc94e93e3333908ca158433c5 (patch)
treebf1fef18db8910f94ee977861829b966d42efb00 /modules/forum/forum.install
parent82b51dff1d2fd90b439129c70b415d30a06d1bce (diff)
downloadbrdo-029c48c68d7f4f2bc94e93e3333908ca158433c5.tar.gz
brdo-029c48c68d7f4f2bc94e93e3333908ca158433c5.tar.bz2
- Patch #306151 by agentrickard, David_Rothstein, Dave Reid, dbabbage, moshe weitzman: automatically install/uninstall schema.
Diffstat (limited to 'modules/forum/forum.install')
-rw-r--r--modules/forum/forum.install3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/forum/forum.install b/modules/forum/forum.install
index 6ad9ee9b7..c42490e2e 100644
--- a/modules/forum/forum.install
+++ b/modules/forum/forum.install
@@ -10,8 +10,6 @@
* Implement hook_install().
*/
function forum_install() {
- // Create tables.
- drupal_install_schema('forum');
// Set the weight of the forum.module to 1 so it is loaded after the taxonomy.module.
db_update('system')
->fields(array('weight' => 1))
@@ -61,7 +59,6 @@ function forum_uninstall() {
$vid = variable_get('forum_nav_vocabulary', 0);
taxonomy_vocabulary_delete($vid);
- drupal_uninstall_schema('forum');
variable_del('forum_containers');
variable_del('forum_nav_vocabulary');
variable_del('forum_hot_topic');