diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-05-05 15:11:51 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-05-05 15:11:51 +0000 |
commit | 744f5a87a346910154d38d144f272017106c55f9 (patch) | |
tree | 208d7ffa5f4df184bc25bdbc9d15d48d480c2292 /modules/blog | |
parent | 108677607dee12278ec177786ea28ad1b7f3b3d5 (diff) | |
download | brdo-744f5a87a346910154d38d144f272017106c55f9.tar.gz brdo-744f5a87a346910154d38d144f272017106c55f9.tar.bz2 |
#553306 by catch, bec, yched, zzolo, mradcliffe, webchick, plach: The rest of remove redundant body and title node attributes & UI. The rest was accidentally committed in http://drupal.org/cvs?commit=363156. Sorry. :(
Diffstat (limited to 'modules/blog')
-rw-r--r-- | modules/blog/blog.install | 17 |
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']); +} |