You are here

function fancy_file_delete_uninstall in Fancy File Delete 2.0.x

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

Implements hook_uninstall().

File

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

Code

function fancy_file_delete_uninstall() {
  $schema = \Drupal::database()
    ->schema();
  if ($schema
    ->tableExists('unmanaged_files')) {
    $schema
      ->dropTable('unmanaged_files');
  }
}