clean up code commented out since 8 y
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 15 Jan 2013 15:58:43 +0000 (15:58 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 15 Jan 2013 15:58:43 +0000 (15:58 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14348 7612ce4b-ef26-0410-bec9-ea0150e637f0

13 files changed:
functions/encode/cp1251.php
functions/encode/cp1255.php
functions/encode/cp1256.php
functions/encode/iso_8859_1.php
functions/encode/iso_8859_15.php
functions/encode/iso_8859_2.php
functions/encode/iso_8859_7.php
functions/encode/iso_8859_9.php
functions/encode/koi8_r.php
functions/encode/koi8_u.php
functions/encode/tis_620.php
functions/encode/us_ascii.php
functions/encode/utf_8.php

index 6c1148f..2afead9 100644 (file)
@@ -23,7 +23,6 @@ function charset_encode_cp1251 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetocp1251('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetocp1251(hexdec('\\1'))",$string);
 
     return $string;
 }
index 47d7bdf..3eca98c 100644 (file)
@@ -23,7 +23,6 @@ function charset_encode_cp1255 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetocp1255('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetocp1255(hexdec('\\1'))",$string);
 
     return $string;
 }
index e5f9904..8ff1430 100644 (file)
@@ -23,7 +23,6 @@ function charset_encode_cp1256 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetocp1256('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetocp1256(hexdec('\\1'))",$string);
 
     return $string;
 }
index 036581e..32cc168 100644 (file)
@@ -23,7 +23,6 @@ function charset_encode_iso_8859_1 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetoiso88591('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetoiso88591(hexdec('\\1'))",$string);
 
     return $string;
 }
index 57151e2..9180d95 100644 (file)
@@ -23,7 +23,6 @@ function charset_encode_iso_8859_15 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetoiso885915('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetoiso885915(hexdec('\\1'))",$string);
 
     return $string;
 }
index 149bfdc..6b03646 100644 (file)
@@ -23,7 +23,6 @@ function charset_encode_iso_8859_2 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetoiso88592('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetoiso88592(hexdec('\\1'))",$string);
 
     return $string;
 }
index d5d1249..ad8055c 100644 (file)
@@ -23,7 +23,6 @@ function charset_encode_iso_8859_7 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetoiso88597('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetoiso88597(hexdec('\\1'))",$string);
 
     return $string;
 }
index ad65748..9c06a7c 100644 (file)
@@ -23,7 +23,6 @@ function charset_encode_iso_8859_9 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetoiso88599('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetoiso88599(hexdec('\\1'))",$string);
 
     return $string;
 }
index 139463d..bdd209e 100644 (file)
@@ -23,7 +23,6 @@ function charset_encode_koi8_r ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetokoi8r('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetokoi8r(hexdec('\\1'))",$string);
 
     return $string;
 }
index b8e395a..49328c4 100644 (file)
@@ -23,7 +23,6 @@ function charset_encode_koi8_u ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetokoi8u('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetokoi8u(hexdec('\\1'))",$string);
 
     return $string;
 }
index 52995c0..6b6d647 100644 (file)
@@ -23,7 +23,6 @@ function charset_encode_tis_620 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetotis620('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetotis620(hexdec('\\1'))",$string);
 
     return $string;
 }
index 965fada..e870b9f 100644 (file)
@@ -23,7 +23,6 @@ function charset_encode_us_ascii ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetousascii('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetousascii(hexdec('\\1'))",$string);
 
     return $string;
 }
index 59cc51b..16b5f93 100644 (file)
@@ -27,7 +27,6 @@ function charset_encode_utf_8 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetoutf8('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetoutf8(hexdec('\\1'))",$string);
 
     return $string;
 }