removing default_charset tests. code can be reused in main function and
[squirrelmail.git] / functions / decode / iso_8859_7.php
index 9e0e7017692b3e60ceb5efea40140a7011126564..655c1c3d2e22d7d6bbee234f2a37f9e8e9afcb33 100644 (file)
  * @return string $string Decoded string
  */
 function charset_decode_iso_8859_7 ($string) {
-    global $default_charset;
-
-    if (strtolower($default_charset) == 'iso-8859-7')
-        return $string;
-
     // don't do decoding when there are no 8bit symbols
     if (! sq_is8bit($string,'iso-8859-7'))
         return $string;