Code cleanup
removing unused code
This commit is contained in:
parent
674c9d4846
commit
a141fb50c4
9
base.php
9
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');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue