Code Duplication    Length = 2-2 lines in 2 locations

other/upgrade.php 2 locations

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