You are here

function image_uninstall in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/image/image.install \image_uninstall()
  2. 9 core/modules/image/image.install \image_uninstall()
  3. 10 core/modules/image/image.install \image_uninstall()

Implements hook_uninstall().

File

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');
}