Browse Source

Remove ancient code that tried to set the default identity to match the FROM header of the message being replied to. This makes no sense and is superceded by the identities match that occurs immediately below.

pdontthink 12 years ago
parent
commit
79a08297a9
1 changed files with 0 additions and 5 deletions
  1. 0 5
      src/compose.php

+ 0 - 5
src/compose.php

@@ -884,11 +884,6 @@ function newMail ($mailbox='', $passed_id='', $passed_ent_id='', $action='', $se
         if (count($idents) > 1) {
             foreach($idents as $nr=>$data) {
                 $enc_from_name = '"'.$data['full_name'].'" <'. $data['email_address'].'>';
-                if(strtolower($enc_from_name) == strtolower($orig_from)) {
-                    $identity = $nr;
-                    // don't stop!  need to build $identities array for idents match below
-                    //break;
-                }
                 $identities[] = $enc_from_name;
             }