summaryrefslogtreecommitdiff
path: root/modules/forum
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-05-05 06:55:25 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-05-05 06:55:25 +0000
commita2d6297055e6abdcd1a811b34b7fb463fcb50c0c (patch)
treea4528b2ac03d9b4d2a8087f43a2fd1911b9d1370 /modules/forum
parentadc9bc1845b8400f45dc790c6376531830782917 (diff)
downloadbrdo-a2d6297055e6abdcd1a811b34b7fb463fcb50c0c.tar.gz
brdo-a2d6297055e6abdcd1a811b34b7fb463fcb50c0c.tar.bz2
#771922 by andypost: Remove t() from schema description of picture field.
Diffstat (limited to 'modules/forum')
-rw-r--r--modules/forum/forum.install4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/forum/forum.install b/modules/forum/forum.install
index 65841a4a1..d23725164 100644
--- a/modules/forum/forum.install
+++ b/modules/forum/forum.install
@@ -80,6 +80,10 @@ function forum_enable() {
$term = (object) $edit;
taxonomy_term_save($term);
}
+ // Ensure the forum node type is available.
+ node_types_rebuild();
+ $types = node_type_get_types();
+ node_add_body_field($types['forum']);
}
/**