summaryrefslogtreecommitdiff
path: root/roundcubemail/index.php
diff options
context:
space:
mode:
authorestadtherr <estadtherr@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-06-08 23:47:57 +0000
committerestadtherr <estadtherr@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-06-08 23:47:57 +0000
commit91e0ca37e8d61b9055e950f82527896e75e713eb (patch)
tree91d89726348a5c71e7532822a09d5490f1868e84 /roundcubemail/index.php
parentdf0fb2f0df335eb176f33c53b372a364a504e540 (diff)
fixed html2text in editor
git-svn-id: https://svn.roundcube.net/trunk@611 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/index.php')
-rw-r--r--roundcubemail/index.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php
index bde223497..60474998f 100644
--- a/roundcubemail/index.php
+++ b/roundcubemail/index.php
@@ -82,7 +82,6 @@ require_once('include/rcube_imap.inc');
require_once('include/bugs.inc');
require_once('include/main.inc');
require_once('include/cache.inc');
-require_once('lib/html2text.inc');
require_once('PEAR.php');
@@ -146,21 +145,6 @@ if ($_action=='error' && !empty($_GET['_code']))
raise_error(array('code' => hexdec($_GET['_code'])), FALSE, TRUE);
-// handle HTML->text conversion
-if ($_action=='html2text')
-{
- $htmlText = $HTTP_RAW_POST_DATA;
- $converter = new html2text($htmlText);
-
- // TODO possibly replace with rcube_remote_response()
- header('Content-Type: text/plain');
- $plaintext = $converter->get_text();
- print $plaintext;
-
- exit;
-}
-
-
// try to log in
if ($_action=='login' && $_task=='mail')
{