Code Duplication    Length = 2-2 lines in 2 locations

other/upgrade.php 2 locations

@@ 1913-1914 (lines=2) @@
1910
			}
1911
		}
1912
		// Duplicate column name... should be okay ;).
1913
		elseif (in_array($mysqli_errno, array(1060, 1061, 1068, 1091)))
1914
			return false;
1915
		// Duplicate insert... make sure it's the proper type of query ;).
1916
		elseif (in_array($mysqli_errno, array(1054, 1062, 1146)) && $error_query)
1917
			return false;
@@ 1916-1917 (lines=2) @@
1913
		elseif (in_array($mysqli_errno, array(1060, 1061, 1068, 1091)))
1914
			return false;
1915
		// Duplicate insert... make sure it's the proper type of query ;).
1916
		elseif (in_array($mysqli_errno, array(1054, 1062, 1146)) && $error_query)
1917
			return false;
1918
		// Creating an index on a non-existent column.
1919
		elseif ($mysqli_errno == 1072)
1920
			return false;