You are here

function feeds_atom_file_delete in Feeds Atom 7

Same name and namespace in other branches
  1. 6 feeds_atom.module \feeds_atom_file_delete()

Implements hook_file_delete().

File

./feeds_atom.module, line 202
Contains the main functionality for feeds_atom.

Code

function feeds_atom_file_delete($file) {

  // Clean up our extra tracking information.
  // @todo Please review the conversion of this statement to the D7 database API syntax.

  /* db_query("DELETE FROM {feeds_atom_file_import} WHERE fid = %d", $file->fid) */
  db_delete('feeds_atom_file_import')
    ->condition('fid', $file->fid)
    ->execute();
}