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