mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 14:48:53 +00:00
[ticket/14771] Remove not needed code from parse_attachments()
PHPBB3-14771
This commit is contained in:
parent
9201081461
commit
21759572c2
1 changed files with 0 additions and 4 deletions
|
@ -1318,14 +1318,10 @@ function parse_attachments($forum_id, &$message, &$attachments, &$update_count_a
|
|||
|
||||
// Audio files
|
||||
case ATTACHMENT_CATEGORY_AUDIO:
|
||||
$inline_link = append_sid("{$phpbb_root_path}download/file.$phpEx", 'id=' . $attachment['attach_id']);
|
||||
$block_array += [
|
||||
'S_AUDIO_FILE' => true,
|
||||
'U_FORUM' => generate_board_url(),
|
||||
'ATTACH_ID' => $attachment['attach_id'],
|
||||
];
|
||||
|
||||
// Heard File ... update the download count
|
||||
$update_count_ary[] = $attachment['attach_id'];
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue