You are here

function authcache_uninstall in Authenticated User Page Caching (Authcache) 6

Same name and namespace in other branches
  1. 7.2 authcache.install \authcache_uninstall()
  2. 7 authcache.install \authcache_uninstall()

Implements hook_uninstall().

File

./authcache.install, line 38

Code

function authcache_uninstall() {
  db_query("DELETE FROM {variable} WHERE name LIKE '%s_%%'", 'authcache');
  cache_clear_all('variables', 'cache');
}