Code Duplication    Length = 2-2 lines in 2 locations

other/upgrade.php 2 locations

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