You are here

function pdfpreview_file_delete in PDFPreview 6

Same name and namespace in other branches
  1. 8 pdfpreview.module \pdfpreview_file_delete()
  2. 7.2 pdfpreview.module \pdfpreview_file_delete()
  3. 2.0.x pdfpreview.module \pdfpreview_file_delete()

Implements hook_file_delete()

File

./pdfpreview.module, line 183
This module creates a formatter for CCK filefields that shows a snapshot of the first page of pdf files as link to the file.

Code

function pdfpreview_file_delete($file) {
  file_delete(_pdfpreview_output_filename($file));
}