From: pdontthink Date: Mon, 17 Jun 2013 18:43:34 +0000 (+0000) Subject: Remove ancient code that tried to set the default identity to match the FROM header... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d0d984baacb45716828c7473bd4dc79b4e12208d;p=squirrelmail.git 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. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14374 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/compose.php b/src/compose.php index b3511fc6..0519be7e 100644 --- a/src/compose.php +++ b/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; }