You are here

function eu_cookie_compliance_uninstall in EU Cookie Compliance (GDPR Compliance) 7

Same name and namespace in other branches
  1. 5 eu_cookie_compliance.install \eu_cookie_compliance_uninstall()
  2. 6 eu_cookie_compliance.install \eu_cookie_compliance_uninstall()
  3. 7.2 eu_cookie_compliance.install \eu_cookie_compliance_uninstall()

Implements hook_uninstall().

File

./eu_cookie_compliance.install, line 89
Installation file.

Code

function eu_cookie_compliance_uninstall() {
  variable_del('eu_cookie_compliance');
  variable_del('eu_cookie_compliance_cookie_lifetime');
  variable_del('eu_cookie_compliance_domain');
  variable_del('eu_cookie_compliance_domain_all_sites');
  cache_clear_all('variables', 'cache');
}