function eu_cookie_compliance_uninstall in EU Cookie Compliance (GDPR Compliance) 5
Same name and namespace in other branches
- 6 eu_cookie_compliance.install \eu_cookie_compliance_uninstall()
- 7.2 eu_cookie_compliance.install \eu_cookie_compliance_uninstall()
- 7 eu_cookie_compliance.install \eu_cookie_compliance_uninstall()
Implements hook_uninstall().
File
- ./
eu_cookie_compliance.install, line 30 - Installation file.
Code
function eu_cookie_compliance_uninstall() {
db_query("DELETE FROM {variable} WHERE name LIKE '%eu_cookie_compliance_%'");
cache_clear_all('variables', 'cache');
}