You are here

function session_cache_file_uninstall in Session Cache API 7

Same name and namespace in other branches
  1. 8 session_cache_file/session_cache_file.install \session_cache_file_uninstall()

Implements hook_uninstall().

File

session_cache_file/session_cache_file.install, line 32
session_cache_file.install

Code

function session_cache_file_uninstall() {
  require_once 'session_cache_file.module';
  $session_cache_root = session_cache_file_directory();
  if ($session_cache_root) {

    // Delete session cache root and all directories and files below it.
    session_cache_file_rrmdir($session_cache_root);
  }
}