From 19272c7c88f5df7fbba47f120efe440b5a472315 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sat, 30 Oct 2010 16:17:50 +0000 Subject: improved users history - part 1 --- h-source/Application/Include/myFunctions.php | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'h-source/Application/Include') diff --git a/h-source/Application/Include/myFunctions.php b/h-source/Application/Include/myFunctions.php index b72be6c..b95cc61 100644 --- a/h-source/Application/Include/myFunctions.php +++ b/h-source/Application/Include/myFunctions.php @@ -85,27 +85,6 @@ function getOrderByClause($string) } -// function isEqual($str1, $str2) -// { -// // $str1 = str_replace("\n",'',$str1); -// // $str1 = str_replace("\r",null,$str1); -// // $str2 = str_replace("\n",'',$str1); -// // $str2 = str_replace("\r",null,$str1); -// -// return (strcmp($str1,$str2) === 0) ? true : false; -// } -// -// function getNewKeys($array,$ovalue) -// { -// $res = array(); -// for ($i = 0; $i < count($array); $i++) -// { -// if (isEqual($array[$i],$ovalue)) $res[] = $i; -// // if (strcmp($keys[$i],$ovalue) === 0) $res[] = $i; -// } -// return $res; -// } - function diff($old, $new){ $maxlen = 0; foreach($old as $oindex => $ovalue){ @@ -168,7 +147,7 @@ function getLinkToUser($user) } else { - return "$user"; + return "$user"; } } -- cgit v1.2.3