From a141fb50c42cd3b066c8f90cacb9a61aafbbc538 Mon Sep 17 00:00:00 2001 From: George Litos Date: Wed, 3 Jun 2015 13:54:45 +0300 Subject: [PATCH] Code cleanup removing unused code --- base.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/base.php b/base.php index 62f94c5..4f28d87 100644 --- a/base.php +++ b/base.php @@ -332,19 +332,14 @@ function addURLParameter($urlParams, $paramName, $paramValue) { function useNormAndUp () { global $config; return $config ['cops_normalized_search'] == "1"; -// return extension_loaded('mbstring') && -// extension_loaded('intl') && -// class_exists("Normalizer", $autoload = false) && -// $config ['cops_normalized_search'] == "1"; } -function normalizeUtf8String( $s) -{ +function normalizeUtf8String( $s) { include_once 'transliteration.php'; return _transliteration_process($s); } -function normAndUp ($s) { +function normAndUp ($s) { return mb_strtoupper (normalizeUtf8String($s), 'UTF-8'); }