Code Duplication    Length = 2-2 lines in 2 locations

other/upgrade.php 2 locations

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