function gravatar_uninstall in Gravatar integration 7
Same name and namespace in other branches
- 5 gravatar.install \gravatar_uninstall()
- 6 gravatar.install \gravatar_uninstall()
Implementation of hook_uninstall().
File
- ./
gravatar.install, line 20 - Install and uninstall schema and functions for the gravatar module.
Code
function gravatar_uninstall() {
// Remove variables.
drupal_load('module', 'gravatar');
$variables = array_keys(gravatar_variables());
foreach ($variables as $variable) {
variable_del($variable);
}
}