Code Duplication    Length = 2-2 lines in 3 locations

other/upgrade.php 2 locations

@@ 207-208 (lines=2) @@
204
			'db_error_skip' => true,
205
		)
206
	);
207
	while ($row = $smcFunc['db_fetch_assoc']($request))
208
		$modSettings[$row['variable']] = $row['value'];
209
	$smcFunc['db_free_result']($request);
210
}
211
@@ 609-610 (lines=2) @@
606
			)
607
		);
608
		$modSettings = array();
609
		while ($row = $smcFunc['db_fetch_assoc']($request))
610
			$modSettings[$row['variable']] = $row['value'];
611
		$smcFunc['db_free_result']($request);
612
	}
613
	else

other/install.php 1 location

@@ 1081-1082 (lines=2) @@
1078
	$modSettings = array();
1079
	if ($result !== false)
1080
	{
1081
		while ($row = $smcFunc['db_fetch_assoc']($result))
1082
			$modSettings[$row['variable']] = $row['value'];
1083
		$smcFunc['db_free_result']($result);
1084
1085
		// Do they match?  If so, this is just a refresh so charge on!