Created on 4 June 2012, over 12 years ago
Updated 18 June 2024, 8 months ago

Deleting files has no file existence checks at all, giving error messages for all files not handled by the module. It should be changed to:

/**
 * Implements hook_file_delete()
 */
function pdfpreview_file_delete($file) {
  $preview = _pdfpreview_output_filename($file);
  if (file_exists($preview)) {
    file_unmanaged_delete();
  }
}
🐛 Bug report
Status

Closed: outdated

Version

2.1

Component

Code

Created by

🇭🇺Hungary djg_tram

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024