From fc0ec24bba40ff1a4216fbca2a15124d01d10172 Mon Sep 17 00:00:00 2001 From: vargenau Date: Sat, 28 Feb 2015 17:02:28 +0000 Subject: [PATCH] Remove unused function git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@9577 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/IniConfig.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/IniConfig.php b/lib/IniConfig.php index 55092d434..3c9c6a689 100644 --- a/lib/IniConfig.php +++ b/lib/IniConfig.php @@ -550,17 +550,6 @@ function IniConfig($file) fixup_dynamic_configs(); // [100ms] } -function _ignore_unknown_charset_warning(&$error) -{ - if (preg_match('/^htmlspecialchars\(\): charset \`.+\' not supported, assuming iso-8859-1/', - $error->errstr) - ) { - $error->errno = 0; - return true; // Ignore error - } - return false; -} - // moved from lib/config.php [1ms] function fixup_static_configs($file) { -- 2.45.0