function uc_termsofservice_uninstall in Ubercart Terms of Service 7
Same name and namespace in other branches
- 6 uc_termsofservice.install \uc_termsofservice_uninstall()
Implements hook_uninstall().
File
- ./
uc_termsofservice.install, line 11 - Install, update, and uninstall functions for the uc_termsofservice module.
Code
function uc_termsofservice_uninstall() {
// Remove all module variables from the database.
db_delete('variable')
->condition('name', db_like('uc_termsofservice_') . '%', 'LIKE')
->execute();
cache_clear_all('variables', 'cache_bootstrap');
}