You are here

function fancy_file_delete_uninstall in Fancy File Delete 7

Same name and namespace in other branches
  1. 8 fancy_file_delete.install \fancy_file_delete_uninstall()
  2. 2.0.x fancy_file_delete.install \fancy_file_delete_uninstall()

Implements hook_uninstall().

File

./fancy_file_delete.install, line 18
Install File for Fancy File Delete.

Code

function fancy_file_delete_uninstall() {
  if (db_table_exists('unmanaged_files')) {
    db_drop_table('unmanaged_files');
  }

  // Remove variables.
  variable_del('fancy_file_delete_unmanaged_chosen_dirs');
  variable_del('fancy_file_delete_format');
}