summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-11-14 13:52:23 +0100
committerAleksander Machniak <alec@alec.pl>2012-11-14 13:52:23 +0100
commitce248f83e52092d264de23a0bd51a0233d6498e7 (patch)
tree2a16178a694c59600b050ea27d9766420c0b1240
parent0e8c6da864f3257e631659dc8834cb2c18854e37 (diff)
Remove useless code
-rw-r--r--program/include/rcube_message.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/program/include/rcube_message.php b/program/include/rcube_message.php
index 47aa4493e..9b8484c15 100644
--- a/program/include/rcube_message.php
+++ b/program/include/rcube_message.php
@@ -270,10 +270,6 @@ class rcube_message
else if ($part->mimetype == 'text/html') {
$out = $this->get_part_content($mime_id);
- // remove special chars encoding
- $trans = array_flip(get_html_translation_table(HTML_ENTITIES));
- $out = strtr($out, $trans);
-
// create instance of html2text class
$txt = new html2text($out);
return $txt->get_text();