From 6d969b4d9020560d3491d19a5b0487e325e9bce4 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Tue, 07 Aug 2007 17:02:12 -0400 Subject: [PATCH] Documentation, code style and cleanup --- index.php | 17 ----------------- 1 files changed, 0 insertions(+), 17 deletions(-) diff --git a/index.php b/index.php index bde2234..9908cf2 100644 --- a/index.php +++ b/index.php @@ -81,8 +81,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'); @@ -144,21 +142,6 @@ // error steps 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 -- Gitblit v1.9.1