function image_uninstall

7.x image.install image_uninstall()

Implements hook_uninstall().

File

drupal-7.x/modules/image/image.install, line 20
Install, update and uninstall functions for the image module.

Code

function image_uninstall() {
  // Remove the styles directory and generated images.
  file_unmanaged_delete_recursive(file_default_scheme() . '://styles');
}