function autofloat_uninstall in AutoFloat 7
Same name and namespace in other branches
- 8 autofloat.install \autofloat_uninstall()
- 6.2 autofloat.install \autofloat_uninstall()
- 6 autofloat.install \autofloat_uninstall()
- 7.2 autofloat.install \autofloat_uninstall()
Implements hook_uninstall().
File
- ./
autofloat.install, line 23 - Sets post-install messages and deletes variables when uninstalled.
Code
function autofloat_uninstall() {
// Delete all variables set in variable table.
db_delete('variable')
->condition('name', 'autofloat_%', 'LIKE')
->execute();
cache_clear_all('variables', 'cache_bootstrap');
}