Removed duplicate code
authorindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 6 Jul 2002 18:23:04 +0000 (18:23 +0000)
committerindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 6 Jul 2002 18:23:04 +0000 (18:23 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3066 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/read_body.php

index f9c22d88823740390a645728e6ee4f4e108e4c22..9410d947c4d882e558e4cb47ddc8de09822f44ff 100644 (file)
@@ -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, '', '</body></html>');
-   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);