function comment_delete_install in Comment Delete 7
Same name and namespace in other branches
- 8 comment_delete.install \comment_delete_install()
- 6 comment_delete.install \comment_delete_install()
Implements hook_install().
File
- ./
comment_delete.install, line 11 - comment_delete.install
Code
function comment_delete_install() {
db_update('system')
->fields(array(
'weight' => '1000',
))
->condition('name', 'comment_delete', '=')
->execute();
variable_set('comment_delete_message', 'Comment has been successfully removed.');
}