You are here

function session_cache_uninstall in Session Cache API 6

Same name and namespace in other branches
  1. 7 session_cache.install \session_cache_uninstall()

Implements hook_uninstall().

File

./session_cache.install, line 22
session_cache.install

Code

function session_cache_uninstall() {

  // Delete session_cache_* variables at once
  db_query("DELETE FROM {variable} WHERE name LIKE 'session_cache_%%'");
  if (db_table_exists('cache_session_cache')) {
    db_drop_table($ret, 'cache_session_cache');
  }
}