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