aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp
diff options
context:
space:
mode:
authorDerky <derky@phpbb.com>2018-11-04 23:10:44 +0100
committerDerky <derky@phpbb.com>2018-11-04 23:10:44 +0100
commite2d26e102d04a77a3d3e727508789e50ba9d36b6 (patch)
tree934fecc54b9c54f40c281cfca221cce1639a0539 /phpBB/includes/acp
parentd753351edc04a45c61411ee09607fb932d314617 (diff)
downloadforums-e2d26e102d04a77a3d3e727508789e50ba9d36b6.tar
forums-e2d26e102d04a77a3d3e727508789e50ba9d36b6.tar.gz
forums-e2d26e102d04a77a3d3e727508789e50ba9d36b6.tar.bz2
forums-e2d26e102d04a77a3d3e727508789e50ba9d36b6.tar.xz
forums-e2d26e102d04a77a3d3e727508789e50ba9d36b6.zip
[ticket/security/227] Remove "no thumbnail support" message
SECURITY-227
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r--phpBB/includes/acp/acp_attachments.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/phpBB/includes/acp/acp_attachments.php b/phpBB/includes/acp/acp_attachments.php
index e8e0cd5cbb..5b1db5c31b 100644
--- a/phpBB/includes/acp/acp_attachments.php
+++ b/phpBB/includes/acp/acp_attachments.php
@@ -233,16 +233,6 @@ class acp_attachments
$template->assign_var('S_ATTACHMENT_SETTINGS', true);
- $supported_types = get_supported_image_types();
-
- // Check Thumbnail Support
- if (!isset($supported_types['format']) || !count($supported_types['format']))
- {
- $this->new_config['img_create_thumbnail'] = 0;
- }
-
- $template->assign_var('S_THUMBNAIL_SUPPORT', (!isset($supported_types['format']) || !count($supported_types['format'])) ? false : true);
-
// Secure Download Options - Same procedure as with banning
$allow_deny = ($this->new_config['secure_allow_deny']) ? 'ALLOWED' : 'DISALLOWED';