phpdoc blocks and some comments that explain check_php_version(4,2,0)
[squirrelmail.git] / functions / decode / tis_620.php
index 6596821c15bf7e53cdac26b60522343333ea6bb3..f171c3db088be41fb92b9ff75d20d0ada831d62d 100644 (file)
@@ -2,7 +2,7 @@
 /**
  * decode/tis620.php
  *
- * Copyright (c) 2003-2004 The SquirrelMail Project Team
+ * Copyright (c) 2003-2005 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * This file contains tis620 decoding function that is needed to read
  * @return string Decoded string
  */
 function charset_decode_tis_620 ($string) {
-    global $default_charset;
-
-    if (strtolower($default_charset) == 'tis-620')
-        return $string;
-
     // don't do decoding when there are no 8bit symbols
     if (! sq_is8bit($string,'tis-620'))
         return $string;