You are here

function imagefield_crop_file_delete in Imagefield Crop 6

File

./imagefield_crop_file.inc, line 29
hook_file and imagefield_crop file functions.

Code

function imagefield_crop_file_delete($file) {

  // delete admin thumbnail.
  if (imagefield_file_is_image($file)) {
    file_delete(imagefield_crop_file_admin_crop_display_path($file));
  }
}