1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/14285] Remove flash support

PHPBB3-14285
This commit is contained in:
Rubén Calvo
2018-07-11 08:54:37 +02:00
committed by rubencm
parent 9bb3398c1e
commit 0e92744fa4

View File

@@ -156,11 +156,6 @@ class attachment extends controller
$display_cat = ATTACHMENT_CATEGORY_NONE;
}
if ($display_cat == ATTACHMENT_CATEGORY_FLASH && !$this->user->optionget('viewflash'))
{
$display_cat = ATTACHMENT_CATEGORY_NONE;
}
if ($thumbnail)
{
$attachment['physical_filename'] = 'thumb_' . $attachment['physical_filename'];