1 comment.install comment_install()

Implements hook_install().

File

core/modules/comment/comment.install, line 24
Install, update and uninstall functions for the Comment module.

Code

function comment_install() {
  if (!db_field_exists('node', 'comment_close_override')) {
    $schema = array();
    comment_schema_alter($schema);
    db_add_field('node', 'comment_close_override', $schema['node']['fields']['comment_close_override']);
  }
}