Code Duplication    Length = 2-2 lines in 2 locations

other/upgrade.php 2 locations

@@ 1216-1217 (lines=2) @@
1213
		echo ' * Updating Settings.php...';
1214
1215
	// Fix some old paths.
1216
	if (substr($boarddir, 0, 1) == '.')
1217
		$changes['boarddir'] = '\'' . fixRelativePath($boarddir) . '\'';
1218
1219
	if (substr($sourcedir, 0, 1) == '.')
1220
		$changes['sourcedir'] = '\'' . fixRelativePath($sourcedir) . '\'';
@@ 1219-1220 (lines=2) @@
1216
	if (substr($boarddir, 0, 1) == '.')
1217
		$changes['boarddir'] = '\'' . fixRelativePath($boarddir) . '\'';
1218
1219
	if (substr($sourcedir, 0, 1) == '.')
1220
		$changes['sourcedir'] = '\'' . fixRelativePath($sourcedir) . '\'';
1221
1222
	if (empty($cachedir) || substr($cachedir, 0, 1) == '.')
1223
		$changes['cachedir'] = '\'' . fixRelativePath($boarddir) . '/cache\'';