mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-02 06:58:49 +02:00
Stop watches - removed inefficient workaround to issue #502 (modif not recorded in the history), the issue #502 must be fixed properly
SVN:trunk[2175]
This commit is contained in:
@@ -3372,24 +3372,6 @@ class AttributeStopWatch extends AttributeDefinition
|
||||
return $proposedValue;
|
||||
}
|
||||
|
||||
public function Equals($val1, $val2)
|
||||
{
|
||||
if ($val1 === $val2) return true;
|
||||
|
||||
if (is_object($val1) != is_object($val2))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (!is_object($val1))
|
||||
{
|
||||
// string ?
|
||||
return false;
|
||||
}
|
||||
|
||||
// Both values are Object sets
|
||||
return $val1->HasSameContents($val2);
|
||||
}
|
||||
|
||||
public function GetSQLExpressions($sPrefix = '')
|
||||
{
|
||||
if ($sPrefix == '')
|
||||
|
||||
Reference in New Issue
Block a user