diff options
author | n-aleha <nick_aleha@myway.com> | 2014-05-15 07:52:27 +0300 |
---|---|---|
committer | n-aleha <nick_aleha@myway.com> | 2015-08-24 00:27:42 +0300 |
commit | 626dfbdd861e0e28876fa1b3d973aacf987fc83a (patch) | |
tree | b227246387cf31ba5047bacfdc693514ae202c60 /phpBB/includes/functions_content.php | |
parent | f6a4843c6df3a9b0490eb3d273ebed7d04a89582 (diff) | |
download | forums-626dfbdd861e0e28876fa1b3d973aacf987fc83a.tar forums-626dfbdd861e0e28876fa1b3d973aacf987fc83a.tar.gz forums-626dfbdd861e0e28876fa1b3d973aacf987fc83a.tar.bz2 forums-626dfbdd861e0e28876fa1b3d973aacf987fc83a.tar.xz forums-626dfbdd861e0e28876fa1b3d973aacf987fc83a.zip |
[ticket/12505] Remove outdated media handing in attachments
Remove code for handling media in RealPlayer, QuickTime, and Windows Media
Player.
PHPBB3-12505
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); |