Code Duplication    Length = 2-2 lines in 2 locations

other/upgrade.php 2 locations

@@ 2066-2067 (lines=2) @@
2063
			}
2064
		}
2065
		// Duplicate column name... should be okay ;).
2066
		elseif (in_array($mysqli_errno, array(1060, 1061, 1068, 1091)))
2067
			return false;
2068
		// Duplicate insert... make sure it's the proper type of query ;).
2069
		elseif (in_array($mysqli_errno, array(1054, 1062, 1146)) && $error_query)
2070
			return false;
@@ 2069-2070 (lines=2) @@
2066
		elseif (in_array($mysqli_errno, array(1060, 1061, 1068, 1091)))
2067
			return false;
2068
		// Duplicate insert... make sure it's the proper type of query ;).
2069
		elseif (in_array($mysqli_errno, array(1054, 1062, 1146)) && $error_query)
2070
			return false;
2071
		// Creating an index on a non-existent column.
2072
		elseif ($mysqli_errno == 1072)
2073
			return false;