function uc_termsofservice_uninstall in Ubercart Terms of Service 6
Same name and namespace in other branches
- 7 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() {
// Delete all module variables and then clear the variable cache.
db_query("DELETE FROM {variable} WHERE name LIKE 'uc_termsofservice_%'");
cache_clear_all('variables', 'cache');
}