summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
Diffstat (limited to 'it.class')
-rw-r--r--it.class14
1 files changed, 0 insertions, 14 deletions
diff --git a/it.class b/it.class
index 4856a3c..a0cf883 100644
--- a/it.class
+++ b/it.class
@@ -391,20 +391,6 @@ static function servertype($pattern)
/**
- * Convert a string to ASCII-only chars, map/strip ISO-8859-1 accents
- * @param $text Text to convert
- * @return mapped/stripped version of $text contains only chars [0..127]
- */
-static function toascii($text)
-{
- return strtr(strtr($text,
- utf8_decode( 'ÇéâàåçêëèïîìÅÉôòûùÿøØáíóúñÑÁÂÀãÃÊËÈÍÎÏÓÔõÕÚÛÙýÝ'),
- 'CeaaaceeeiiiAEoouuyooaiounNAAAaAEEEIIIOOoOUUUyY'),
- array("\xe4" => 'ae', "\xf6" => 'oe', "\xfc" => 'ue', "\xc4" => 'Ae', "\xd6" => 'Oe', "\xdc" => 'Ue', "\xe6" => 'ae', "\xc6" => 'Ae', "\xdf" => 'ss'));
-}
-
-
-/**
* Check whether an IP adress lies within a given range. Supports IPv4 and IPv6
* @param $ip IP address (192.168.42.123)
* @param $cidrs IP range in CIDR notation (192.168.42.64/26) or array of ranges