Code Duplication    Length = 7-7 lines in 2 locations

phpgwapi/inc/adodb/drivers/adodb-oracle.inc.php 2 locations

@@ 52-58 (lines=7) @@
49
	}
50
51
52
	function BindDate($d)
53
	{
54
		$d = ADOConnection::DBDate($d);
55
		if (strncmp($d,"'",1)) return $d;
56
57
		return substr($d,1,strlen($d)-2);
58
	}
59
60
	function BindTimeStamp($d)
61
	{
@@ 60-66 (lines=7) @@
57
		return substr($d,1,strlen($d)-2);
58
	}
59
60
	function BindTimeStamp($d)
61
	{
62
		$d = ADOConnection::DBTimeStamp($d);
63
		if (strncmp($d,"'",1)) return $d;
64
65
		return substr($d,1,strlen($d)-2);
66
	}
67
68
69