diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-03-23 11:39:25 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-03-23 11:39:25 +0100 |
commit | 052b2a1780ce07c45e80cd16a55e43177850de35 (patch) | |
tree | 2fcec1c8955d25906e22b2b2ae920f17203aa2b6 | |
parent | 04058413cc2649aa16f5bfe605270e8e5d4536f3 (diff) | |
download | rpg-052b2a1780ce07c45e80cd16a55e43177850de35.tar.gz rpg-052b2a1780ce07c45e80cd16a55e43177850de35.tar.bz2 |
removed commented code left from the quoted_printable days
-rw-r--r-- | inc/Mailer.class.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/inc/Mailer.class.php b/inc/Mailer.class.php index d7dc70ded..9744fa44e 100644 --- a/inc/Mailer.class.php +++ b/inc/Mailer.class.php @@ -370,15 +370,6 @@ class Mailer { } if(!utf8_isASCII($text)){ - //FIXME check if this is needed for base64 too - // put the quotes outside as in =?UTF-8?Q?"Elan Ruusam=C3=A4e"?= vs "=?UTF-8?Q?Elan Ruusam=C3=A4e?=" - /* - if (preg_match('/^"(.+)"$/', $text, $matches)) { - $text = '"=?UTF-8?Q?'.mail_quotedprintable_encode($matches[1], 0).'?="'; - } else { - $text = '=?UTF-8?Q?'.mail_quotedprintable_encode($text, 0).'?='; - } - */ $text = '=?UTF-8?B?'.base64_encode($text).'?='; } }else{ |