phpdoc blocks and some comments that explain check_php_version(4,2,0)
[squirrelmail.git] / functions / decode / koi8_u.php
index 37620763d88d352ecc52d7f583d642d6af397f06..bec2654d290d313ace4cb997b79a47ddd42fdf11 100644 (file)
@@ -2,7 +2,7 @@
 /**
  * decode/koi8-u.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 koi8-u decoding function that is needed to read
  * @return string Decoded string
  */
 function charset_decode_koi8_u ($string) {
-    global $default_charset;
-
-    if (strtolower($default_charset) == 'koi8-u')
-        return $string;
-
     // don't do decoding when there are no 8bit symbols
     if (! sq_is8bit($string,'koi8-u'))
         return $string;