Code Duplication    Length = 2-2 lines in 2 locations

other/upgrade.php 2 locations

@@ 1938-1939 (lines=2) @@
1935
			}
1936
		}
1937
		// Duplicate column name... should be okay ;).
1938
		elseif (in_array($mysqli_errno, array(1060, 1061, 1068, 1091)))
1939
			return false;
1940
		// Duplicate insert... make sure it's the proper type of query ;).
1941
		elseif (in_array($mysqli_errno, array(1054, 1062, 1146)) && $error_query)
1942
			return false;
@@ 1941-1942 (lines=2) @@
1938
		elseif (in_array($mysqli_errno, array(1060, 1061, 1068, 1091)))
1939
			return false;
1940
		// Duplicate insert... make sure it's the proper type of query ;).
1941
		elseif (in_array($mysqli_errno, array(1054, 1062, 1146)) && $error_query)
1942
			return false;
1943
		// Creating an index on a non-existent column.
1944
		elseif ($mysqli_errno == 1072)
1945
			return false;