Code Duplication    Length = 2-2 lines in 2 locations

other/upgrade.php 2 locations

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