Created on 4 June 2012, about 12 years ago
Updated 18 June 2024, 11 days 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.69.0 2024