Code Duplication    Length = 2-2 lines in 2 locations

other/upgrade.php 2 locations

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