summaryrefslogtreecommitdiff
path: root/modules/blog/blog.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/blog/blog.install')
-rw-r--r--modules/blog/blog.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/blog/blog.install b/modules/blog/blog.install
new file mode 100644
index 000000000..898ff5749
--- /dev/null
+++ b/modules/blog/blog.install
@@ -0,0 +1,17 @@
+<?php
+// $Id$
+
+/**
+ * @file
+ * Install, update and uninstall functions for the blog module.
+ */
+
+/**
+ * Implements hook_install().
+ */
+function blog_install() {
+ // Ensure the blog node type is available.
+ node_types_rebuild();
+ $types = node_type_get_types();
+ node_add_body_field($types['blog']);
+}