Code Duplication    Length = 8-9 lines in 2 locations

mod/wet4/start.php 2 locations

@@ 435-442 (lines=8) @@
432
			'link_class' => 'elgg-topbar-dropdown',
433
		));
434
435
		if (elgg_is_active_plugin('dashboard')) {
436
			$item = elgg_unregister_menu_item('topbar', 'dashboard');
437
			if ($item) {
438
				$item->setText(elgg_echo('dashboard'));
439
				$item->setSection('default');
440
				elgg_register_menu_item('site', $item);
441
			}
442
		}
443
444
		$item = elgg_get_menu_item('topbar', 'usersettings');
445
		if ($item) {
@@ 474-482 (lines=9) @@
471
			}
472
		}
473
474
		if (elgg_is_active_plugin('reportedcontent')) {
475
			$item = elgg_unregister_menu_item('footer', 'report_this');
476
			if ($item) {
477
				$item->setText(elgg_view_icon('report-this'));
478
				$item->setPriority(500);
479
				$item->setSection('default');
480
				elgg_register_menu_item('extras', $item);
481
			}
482
		}
483
484
485
		//style colleague requests tab