From: Michael M Slusarz Date: Thu, 26 Aug 2010 03:16:25 +0000 (-0600) Subject: This function always exists as of PHP 4.2.0 X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=18ccb8b30b013995732262ac702ea673cb0b79b5;p=horde.git This function always exists as of PHP 4.2.0 --- diff --git a/framework/Core/lib/Horde/Registry.php b/framework/Core/lib/Horde/Registry.php index 90997727f..86f771b34 100644 --- a/framework/Core/lib/Horde/Registry.php +++ b/framework/Core/lib/Horde/Registry.php @@ -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);