This function always exists as of PHP 4.2.0
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 26 Aug 2010 03:16:25 +0000 (21:16 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 26 Aug 2010 03:16:25 +0000 (21:16 -0600)
framework/Core/lib/Horde/Registry.php

index 9099772..86f771b 100644 (file)
@@ -2377,10 +2377,7 @@ class Horde_Registry
             $charset = $this->getCharset();
         }
 
-        /* The existence of this function depends on the platform. */
-        if (function_exists('bind_textdomain_codeset')) {
-            $this->_cachedCharset(0, bind_textdomain_codeset($app, $charset));
-        }
+        $this->_cachedCharset(0, bind_textdomain_codeset($app, $charset));
 
         if (!Horde::contentSent()) {
             header('Content-Type: text/html; charset=' . $charset);