function csm_uninstall in Custom Submit Messages 7.x
Same name and namespace in other branches
- 6 csm.install \csm_uninstall()
- 7 csm.install \csm_uninstall()
Implements hook_uninstall().
File
- ./
csm.install, line 19 - Install, update and uninstall functions for the Custom Submit Messages module.
Code
function csm_uninstall() {
// Remove all of the variables that the module has added to the variable table
drupal_load('module', 'csm');
$variables = array_values(csm_variables());
foreach ($variables as $variable) {
variable_del($variable);
}
}