diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2014-08-09 12:01:09 +0200 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2014-08-09 16:33:59 +0200 |
| commit | 12caf2f03dfa3440e810ce59583567b9a45953ad (patch) | |
| tree | 34217a9458bac1f5e5e2b6c6a10673d7afb26a74 /phpBB/includes/ucp | |
| parent | deaa0a8c758acb14a1944c5d3c1fa24364f503c4 (diff) | |
| download | forums-12caf2f03dfa3440e810ce59583567b9a45953ad.tar forums-12caf2f03dfa3440e810ce59583567b9a45953ad.tar.gz forums-12caf2f03dfa3440e810ce59583567b9a45953ad.tar.bz2 forums-12caf2f03dfa3440e810ce59583567b9a45953ad.tar.xz forums-12caf2f03dfa3440e810ce59583567b9a45953ad.zip | |
[ticket/12938] Remove the 'Download all attachments' feature.
PHPBB3-12938
Diffstat (limited to 'phpBB/includes/ucp')
| -rw-r--r-- | phpBB/includes/ucp/ucp_pm_viewmessage.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewmessage.php b/phpBB/includes/ucp/ucp_pm_viewmessage.php index 94383b935f..d5a1dbae87 100644 --- a/phpBB/includes/ucp/ucp_pm_viewmessage.php +++ b/phpBB/includes/ucp/ucp_pm_viewmessage.php @@ -250,7 +250,6 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row) 'U_PM_ACTION' => $url . '&mode=compose&f=' . $folder_id . '&p=' . $message_row['msg_id'], 'S_HAS_ATTACHMENTS' => (sizeof($attachments)) ? true : false, - 'S_HAS_MULTIPLE_ATTACHMENTS' => (sizeof($attachments) > 1), 'S_DISPLAY_NOTICE' => $display_notice && $message_row['message_attachment'], 'S_AUTHOR_DELETED' => ($author_id == ANONYMOUS) ? true : false, 'S_SPECIAL_FOLDER' => in_array($folder_id, array(PRIVMSGS_NO_BOX, PRIVMSGS_OUTBOX)), @@ -339,12 +338,6 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row) // Display not already displayed Attachments for this post, we already parsed them. ;) if (isset($attachments) && sizeof($attachments)) { - $methods = phpbb_gen_download_links('msg_id', $msg_id, $phpbb_root_path, $phpEx); - foreach ($methods as $method) - { - $template->assign_block_vars('dl_method', $method); - } - foreach ($attachments as $attachment) { $template->assign_block_vars('attachment', array( |
