From 67c0efdffb79d63ffcc15e07a0798f415a4e0845 Mon Sep 17 00:00:00 2001 From: Andre Klapper Date: Mon, 20 May 2024 10:42:58 +0200 Subject: [PATCH] PHPMailer: Remove duplicate array keys Summary: `'doc'` is listed twice in the `$mimes` array. Remove one key. The second key was also removed in https://github.com/PHPMailer/PHPMailer/commit/6f919df65e80023fce4eab58832b6035b4a41935. Test Plan: Read/grep the code. Reviewers: O1 Blessed Committers, avivey Reviewed By: O1 Blessed Committers, avivey Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D25666 --- externals/phpmailer/class.phpmailer-lite.php | 1 - externals/phpmailer/class.phpmailer.php | 1 - 2 files changed, 2 deletions(-) diff --git a/externals/phpmailer/class.phpmailer-lite.php b/externals/phpmailer/class.phpmailer-lite.php index 61b11d99b1..b6d34a54aa 100644 --- a/externals/phpmailer/class.phpmailer-lite.php +++ b/externals/phpmailer/class.phpmailer-lite.php @@ -1980,7 +1980,6 @@ class PHPMailerLite { 'mov' => 'video/quicktime', 'avi' => 'video/x-msvideo', 'movie' => 'video/x-sgi-movie', - 'doc' => 'application/msword', 'word' => 'application/msword', 'xl' => 'application/excel', 'eml' => 'message/rfc822' diff --git a/externals/phpmailer/class.phpmailer.php b/externals/phpmailer/class.phpmailer.php index 001876af65..b266a74d8c 100644 --- a/externals/phpmailer/class.phpmailer.php +++ b/externals/phpmailer/class.phpmailer.php @@ -2118,7 +2118,6 @@ class PHPMailer { 'mov' => 'video/quicktime', 'avi' => 'video/x-msvideo', 'movie' => 'video/x-sgi-movie', - 'doc' => 'application/msword', 'word' => 'application/msword', 'xl' => 'application/excel', 'eml' => 'message/rfc822'