You are here

function eu_cookie_compliance_uninstall in EU Cookie Compliance (GDPR Compliance) 6

Same name and namespace in other branches
  1. 5 eu_cookie_compliance.install \eu_cookie_compliance_uninstall()
  2. 7.2 eu_cookie_compliance.install \eu_cookie_compliance_uninstall()
  3. 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');
}