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

[ticket/15663] Remove flash attachments support

PHPBB3-15663
This commit is contained in:
Rubén Calvo
2018-05-08 14:30:32 +02:00
parent 5087d5d6b6
commit 3966440008
6 changed files with 9 additions and 61 deletions

View File

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