Code Duplication    Length = 2-2 lines in 2 locations

Sources/ManageSearchEngines.php 1 location

@@ 119-120 (lines=2) @@
116
			'moderator_group' => 3,
117
		)
118
	);
119
	while ($row = $smcFunc['db_fetch_assoc']($request))
120
		$config_vars['spider_group'][2][$row['id_group']] = $row['group_name'];
121
	$smcFunc['db_free_result']($request);
122
123
	// Make sure it's valid - note that regular members are given id_group = 1 which is reversed in Load.php - no admins here!

Sources/Post.php 1 location

@@ 2355-2356 (lines=2) @@
2352
			'group_list' => $groups,
2353
		)
2354
	);
2355
	while ($row = $smcFunc['db_fetch_assoc']($request))
2356
		$context['groups'][$row['id_group']]['name'] = $row['group_name'];
2357
	$smcFunc['db_free_result']($request);
2358
2359
	// Get the subject of the topic we're about to announce.