function image_file_move

7.x image.module image_file_move($file, $source)

Implements hook_file_move().

File

drupal-7.x/modules/image/image.module, line 330
Exposes global functionality for creating image styles.

Code

function image_file_move($file, $source) {
  // Delete any image derivatives at the original image path.
  image_path_flush($source->uri);
}