From 2de7d74c2bba02568581ea2f819b3d3eda52c6e5 Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 20 May 2009 09:03:14 +0000 Subject: [PATCH] - remove not used icl_commons.inc file --- program/lib/icl_commons.inc | 81 ------------------------------------- program/lib/imap.inc | 4 -- 2 files changed, 85 deletions(-) delete mode 100644 program/lib/icl_commons.inc diff --git a/program/lib/icl_commons.inc b/program/lib/icl_commons.inc deleted file mode 100644 index 87eed629f..000000000 --- a/program/lib/icl_commons.inc +++ /dev/null @@ -1,81 +0,0 @@ -=224 && $val<=239){ - $unicode = ($val-224) * 4096 + (ord($str[$i+1])-128) * 64 + (ord($str[$i+2])-128); - $i+=2; - $utf_code.=chr((int)($unicode/256)).chr($unicode%256); - }else if ($val>=192 && $val<=223){ - $unicode = ($val-192) * 64 + (ord($str[$i+1])-128); - $i++; - $utf_code.=chr((int)($unicode/256)).chr($unicode%256); - }else{ - if ($utf_code){ - $out.='&'.mod_b64_encode($utf_code).'-'; - $utf_code=""; - } - if ($str[$i]=="-") $out.="&"; - $out.=$str[$i]; - } - } - if ($utf_code) - $out.='&'.mod_b64_encode($utf_code).'-'; - return $out; -} - - -?> \ No newline at end of file diff --git a/program/lib/imap.inc b/program/lib/imap.inc index 1502064a8..66394dde8 100644 --- a/program/lib/imap.inc +++ b/program/lib/imap.inc @@ -92,9 +92,6 @@ * @todo Replace echo-debugging (make it adhere to config setting and log) */ -// changed path to work within roundcube webmail -include_once 'lib/icl_commons.inc'; - if (!isset($IMAP_USE_HEADER_DATE) || !$IMAP_USE_HEADER_DATE) { $IMAP_USE_INTERNAL_DATE = true; @@ -2211,7 +2208,6 @@ function iil_C_ListSubscribed(&$conn, $ref, $mailbox) { $a = iil_ExplodeQuotedString(' ', $line); // last string is folder name - //$folder = UTF7DecodeString(str_replace('"', '', $a[count($a)-1])); $folder = trim($a[count($a)-1], '"'); if ((!in_array($folder, $folders)) && (empty($ignore)