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