From 86a50e897810640df060bf29360f6939c6cc2e56 Mon Sep 17 00:00:00 2001 From: indiri69 Date: Sat, 6 Jul 2002 18:23:04 +0000 Subject: [PATCH] Removed duplicate code git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3066 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/read_body.php | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/src/read_body.php b/src/read_body.php index f9c22d88..9410d947 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -440,35 +440,6 @@ if (isset($msgs)) { } $msgs[$passed_id]['FLAG_SEEN'] = true; - -/* - * The following code sets necesarry stuff for the MDN thing - */ -if($default_use_mdn && - ($mdn_user_support = getPref($data_dir, $username, 'mdn_user_support', - $default_use_mdn))) { - $supportMDN = ServerMDNSupport($mbx_response["PERMANENTFLAGS"]); - $FirstTimeSee = !$message->is_seen; -} - -/* - * The following code shows the header of the message and then exit - */ -if (isset($view_hdr)) { - $template_vars = array(); - parse_viewheader($imapConnection,$passed_id,&$template_vars); - $template_vars['return_address'] = set_url_var($PHP_SELF, 'view_hdr'); - view_header($template_vars, '', ''); - exit; -} - -if (isset($msgs)) { - $currentArrayIndex = $passed_id; -} else { - $currentArrayIndex = -1; -} -$msgs[$passed_id]['FLAG_SEEN'] = true; - /** translate the subject and mailbox into url-able text **/ $url_subj = urlencode(trim($header->subject)); $urlMailbox = urlencode($mailbox); -- 2.25.1