diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-11 10:52:01 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-11 10:52:01 +0000 |
commit | b8264306fc751fa67e7fb55a4b86c9d5950ffbfb (patch) | |
tree | 01740243d9c984084abcb5c787b5e43b6764266f /modules/forum/forum.install | |
parent | c073e88c56909424ba3aa164b43d26374918cbb7 (diff) | |
download | brdo-b8264306fc751fa67e7fb55a4b86c9d5950ffbfb.tar.gz brdo-b8264306fc751fa67e7fb55a4b86c9d5950ffbfb.tar.bz2 |
#176282 by Desbeers: forum taxonomy was required for non-forum node types, when enabled for forum inclusion
Diffstat (limited to 'modules/forum/forum.install')
-rw-r--r-- | modules/forum/forum.install | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/forum/forum.install b/modules/forum/forum.install index 0b9ea5e87..a68f18942 100644 --- a/modules/forum/forum.install +++ b/modules/forum/forum.install @@ -7,6 +7,8 @@ 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_query("UPDATE {system} SET weight = 1 WHERE name = 'forum'"); } function forum_enable() { @@ -19,7 +21,7 @@ function forum_enable() { $vocabulary = array( 'name' => t('Forums'), 'multiple' => 0, - 'required' => 1, + 'required' => 0, 'hierarchy' => 1, 'relations' => 0, 'module' => 'forum', |