Code Duplication    Length = 8-9 lines in 2 locations

mod/wet4/start.php 2 locations

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