You are here

function gathercontent_file_delete in GatherContent 7.2

Implements hook_file_delete().

File

./gathercontent.module, line 201
Imports pages from GatherContent (http://gathercontent.com/) into Drupal as nodes.

Code

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