summaryrefslogtreecommitdiff
path: root/modules/blog/blog.install
blob: fffb14b837c8c34655876d172904829290c21955 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

/**
 * @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']);
}

/**
 * Implements hook_uninstall().
 */
function blog_uninstall() {
  variable_del('blog_block_count');
}