function uniqueness_uninstall in Uniqueness 6
Same name and namespace in other branches
- 7 uniqueness.install \uniqueness_uninstall()
Implementation of hook_uninstall().
File
- ./
uniqueness.install, line 20 - Install, update and uninstall functions for the uniqueness module.
Code
function uniqueness_uninstall() {
// Remove all variables whose name starts with "uniqueness_"
global $conf;
foreach (array_keys($conf) as $key) {
if (strpos($key, 'uniqueness_') === 0) {
variable_del($key);
}
}
}