function copyright_block_uninstall in Copyright Block module 7
Same name and namespace in other branches
- 6 copyright_block.install \copyright_block_uninstall()
- 7.2 copyright_block.install \copyright_block_uninstall()
Implements hook_uninstall().
File
- ./
copyright_block.install, line 11 - Install file for "Copyright block".
Code
function copyright_block_uninstall() {
variable_del('copyright_block_inceptionyear');
variable_del('copyright_block_copyrightholder');
variable_del('copyright_block_template');
variable_del('copyright_block_spacertemplate');
db_delete('block')
->condition('module', 'copyright_block')
->condition('delta', 'copyright')
->execute();
}