You are here

function file_styles_uninstall in Styles 7

Same name and namespace in other branches
  1. 7.2 contrib/file_styles/file_styles.install \file_styles_uninstall()

Implement hook_uninstall().

File

contrib/file_styles/file_styles.install, line 20
Install, update and uninstall functions for the file styles module.

Code

function file_styles_uninstall() {

  // Remove the styles directory and generated images.
  $path = 'temporary://file-styles';
  file_unmanaged_delete_recursive($path);
}