Code Duplication    Length = 2-2 lines in 2 locations

other/upgrade.php 2 locations

@@ 1900-1901 (lines=2) @@
1897
			}
1898
		}
1899
		// Duplicate column name... should be okay ;).
1900
		elseif (in_array($mysqli_errno, array(1060, 1061, 1068, 1091)))
1901
			return false;
1902
		// Duplicate insert... make sure it's the proper type of query ;).
1903
		elseif (in_array($mysqli_errno, array(1054, 1062, 1146)) && $error_query)
1904
			return false;
@@ 1903-1904 (lines=2) @@
1900
		elseif (in_array($mysqli_errno, array(1060, 1061, 1068, 1091)))
1901
			return false;
1902
		// Duplicate insert... make sure it's the proper type of query ;).
1903
		elseif (in_array($mysqli_errno, array(1054, 1062, 1146)) && $error_query)
1904
			return false;
1905
		// Creating an index on a non-existent column.
1906
		elseif ($mysqli_errno == 1072)
1907
			return false;