1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 14:52:41 +01:00

PHPMailer: Remove duplicate array keys

Summary:
`'doc'` is listed twice in the `$mimes` array. Remove one key.

The second key was also removed in 6f919df65e.

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
This commit is contained in:
Andre Klapper 2024-05-20 10:42:58 +02:00
parent a579a974eb
commit 67c0efdffb
2 changed files with 0 additions and 2 deletions

View file

@ -1980,7 +1980,6 @@ class PHPMailerLite {
'mov' => 'video/quicktime', 'mov' => 'video/quicktime',
'avi' => 'video/x-msvideo', 'avi' => 'video/x-msvideo',
'movie' => 'video/x-sgi-movie', 'movie' => 'video/x-sgi-movie',
'doc' => 'application/msword',
'word' => 'application/msword', 'word' => 'application/msword',
'xl' => 'application/excel', 'xl' => 'application/excel',
'eml' => 'message/rfc822' 'eml' => 'message/rfc822'

View file

@ -2118,7 +2118,6 @@ class PHPMailer {
'mov' => 'video/quicktime', 'mov' => 'video/quicktime',
'avi' => 'video/x-msvideo', 'avi' => 'video/x-msvideo',
'movie' => 'video/x-sgi-movie', 'movie' => 'video/x-sgi-movie',
'doc' => 'application/msword',
'word' => 'application/msword', 'word' => 'application/msword',
'xl' => 'application/excel', 'xl' => 'application/excel',
'eml' => 'message/rfc822' 'eml' => 'message/rfc822'