You are here

function session_cache_file_uninstall in Session Cache API 8

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

Implements hook_uninstall().

File

session_cache_file/session_cache_file.install, line 11
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);
  }
}