Code Duplication    Length = 8-9 lines in 2 locations

mod/wet4/start.php 2 locations

@@ 391-398 (lines=8) @@
388
			'link_class' => 'elgg-topbar-dropdown',
389
		));
390
391
		if (elgg_is_active_plugin('dashboard')) {
392
			$item = elgg_unregister_menu_item('topbar', 'dashboard');
393
			if ($item) {
394
				$item->setText(elgg_echo('dashboard'));
395
				$item->setSection('default');
396
				elgg_register_menu_item('site', $item);
397
			}
398
		}
399
400
		$item = elgg_get_menu_item('topbar', 'usersettings');
401
		if ($item) {
@@ 430-438 (lines=9) @@
427
			}
428
		}
429
430
		if (elgg_is_active_plugin('reportedcontent')) {
431
			$item = elgg_unregister_menu_item('footer', 'report_this');
432
			if ($item) {
433
				$item->setText(elgg_view_icon('report-this'));
434
				$item->setPriority(500);
435
				$item->setSection('default');
436
				elgg_register_menu_item('extras', $item);
437
			}
438
		}
439
440
441
		//style colleague requests tab