diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-01-10 05:32:30 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-01-10 05:32:30 +0000 |
commit | 117b284fd493834468292e30ac4beddd1668083c (patch) | |
tree | bd43d7c291673666f3d54b796eb3cf3c44116a18 /modules/forum/forum.install | |
parent | 46cf0a7db4e43073a960442ad4e109b126883a30 (diff) | |
download | brdo-117b284fd493834468292e30ac4beddd1668083c.tar.gz brdo-117b284fd493834468292e30ac4beddd1668083c.tar.bz2 |
#356749 by chx: Fix cruft in forum_install().
Diffstat (limited to 'modules/forum/forum.install')
-rw-r--r-- | modules/forum/forum.install | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/forum/forum.install b/modules/forum/forum.install index 9daac0310..51dc90316 100644 --- a/modules/forum/forum.install +++ b/modules/forum/forum.install @@ -15,8 +15,7 @@ function forum_enable() { if ($vocabulary = taxonomy_vocabulary_load(variable_get('forum_nav_vocabulary', 0))) { // Existing install. Add back forum node type, if the forums // vocabulary still exists. Keep all other node types intact there. - $vocabulary = (array) $vocabulary; - $vocabulary['nodes']['forum'] = 1; + $vocabulary->nodes['forum'] = 1; taxonomy_vocabulary_save($vocabulary); } else { |