You are here

function image_field_caption_file_delete in Image Field Caption 7

Implements hook_file_delete().

File

./image_field_caption.module, line 252
Provides a caption textarea for image fields.

Code

function image_field_caption_file_delete($file) {
  db_delete('image_field_caption')
    ->condition('fid', $file->fid)
    ->execute();
}