diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2015-08-26 15:27:07 +0200 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2015-08-26 15:27:07 +0200 |
| commit | b96250b391d20e4953a24c8c42267efcefaad471 (patch) | |
| tree | 6d235f1aefcbb97d10cc6a6e5e0614ef31742d73 /phpBB/includes/functions_content.php | |
| parent | f6a4843c6df3a9b0490eb3d273ebed7d04a89582 (diff) | |
| parent | afccb9cb49ce8e96079d3f0b1ea1f9084194a316 (diff) | |
| download | forums-b96250b391d20e4953a24c8c42267efcefaad471.tar forums-b96250b391d20e4953a24c8c42267efcefaad471.tar.gz forums-b96250b391d20e4953a24c8c42267efcefaad471.tar.bz2 forums-b96250b391d20e4953a24c8c42267efcefaad471.tar.xz forums-b96250b391d20e4953a24c8c42267efcefaad471.zip | |
Merge pull request #3478 from n-aleha/ticket/12505
[ticket/12505] Remove outdated media handling in attachments
Diffstat (limited to 'phpBB/includes/functions_content.php')
| -rw-r--r-- | phpBB/includes/functions_content.php | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php index fd39c61b14..345df1d47a 100644 --- a/phpBB/includes/functions_content.php +++ b/phpBB/includes/functions_content.php @@ -1171,38 +1171,6 @@ function parse_attachments($forum_id, &$message, &$attachments, &$update_count, $update_count[] = $attachment['attach_id']; break; - // Windows Media Streams - case ATTACHMENT_CATEGORY_WM: - - // Giving the filename directly because within the wm object all variables are in local context making it impossible - // to validate against a valid session (all params can differ) - // $download_link = $filename; - - $block_array += array( - 'U_FORUM' => generate_board_url(), - 'ATTACH_ID' => $attachment['attach_id'], - 'S_WM_FILE' => true, - ); - - // Viewed/Heared File ... update the download count - $update_count[] = $attachment['attach_id']; - break; - - // Real Media Streams - case ATTACHMENT_CATEGORY_RM: - case ATTACHMENT_CATEGORY_QUICKTIME: - - $block_array += array( - 'S_RM_FILE' => ($display_cat == ATTACHMENT_CATEGORY_RM) ? true : false, - 'S_QUICKTIME_FILE' => ($display_cat == ATTACHMENT_CATEGORY_QUICKTIME) ? true : false, - 'U_FORUM' => generate_board_url(), - 'ATTACH_ID' => $attachment['attach_id'], - ); - - // Viewed/Heared File ... update the download count - $update_count[] = $attachment['attach_id']; - break; - // Macromedia Flash Files case ATTACHMENT_CATEGORY_FLASH: list($width, $height) = @getimagesize($filename); |
