You are here

function video_file_delete in Video 7

Same name and namespace in other branches
  1. 6.5 video.module \video_file_delete()
  2. 6.4 video.module \video_file_delete()
  3. 7.2 video.module \video_file_delete()

Implementation of hook_file_delete().

File

./video.module, line 234

Code

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