Code Duplication    Length = 9-9 lines in 2 locations

engine/lib/user_settings.php 1 location

@@ 369-377 (lines=9) @@
366
    
367
		elgg_register_menu_item('page', $params);
368
		
369
		if (elgg_is_active_plugin('groups')) {
370
			$params = array(
371
            'name' => '2_group_notify',
372
			'text' => elgg_echo('notifications:subscriptions:changesettings:groups'),
373
			'href' => "notifications/group/{$user->username}",
374
			'section' => "configure",
375
			);
376
			elgg_register_menu_item('page', $params);
377
		}
378
	// register plugin user settings menu items
379
	$active_plugins = elgg_get_plugins();
380
	

mod/wet4/lib/user_settings.php 1 location

@@ 340-348 (lines=9) @@
337
    
338
		elgg_register_menu_item('page', $params);
339
		
340
		if (elgg_is_active_plugin('groups')) {
341
			$params = array(
342
            'name' => '2_group_notify',
343
			'text' => elgg_echo('notifications:subscriptions:changesettings:groups'),
344
			'href' => "notifications/group/{$user->username}",
345
			'section' => "configure",
346
			);
347
			elgg_register_menu_item('page', $params);
348
		}
349
	// register plugin user settings menu items
350
	$active_plugins = elgg_get_plugins();
351