From 15923d002a7bd13d6811613dc86ca8426dade682 Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 29 Oct 2022 16:22:02 +0200 Subject: [PATCH] (cp b04befd) fixes #1770 no specific need to detect TIFF files --- admin/include/functions_upload.inc.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/admin/include/functions_upload.inc.php b/admin/include/functions_upload.inc.php index c8a503f22..01acf155e 100644 --- a/admin/include/functions_upload.inc.php +++ b/admin/include/functions_upload.inc.php @@ -161,7 +161,6 @@ function add_uploaded_file($source_filepath, $original_filename=null, $categorie } $file_path = null; - $is_tiff = false; if (isset($image_id)) { @@ -218,11 +217,6 @@ SELECT { $file_path.= 'gif'; } - elseif (IMAGETYPE_TIFF_MM == $type or IMAGETYPE_TIFF_II == $type) - { - $is_tiff = true; - $file_path.= 'tif'; - } elseif (IMAGETYPE_JPEG == $type) { $file_path.= 'jpg';