Code Duplication    Length = 9-9 lines in 2 locations

programs/utilit/menu.ui.php 2 locations

@@ 78-86 (lines=9) @@
75
		);
76
77
78
		if (absences_getVacationOption('sync_server'))
79
		{
80
			$cat->addItem(
81
					$W->Link(
82
							$W->Icon(absences_translate("Configure the shared vacation rights"), Func_Icons::APPS_PREFERENCES_WEBSERVICES),
83
							absences_addon()->getUrl()."sync_server"
84
					)
85
			);
86
		}
87
88
		if (absences_getVacationOption('sync_url'))
89
		{
@@ 88-96 (lines=9) @@
85
			);
86
		}
87
88
		if (absences_getVacationOption('sync_url'))
89
		{
90
			$cat->addItem(
91
					$W->Link(
92
							$W->Icon(absences_translate("Configure the synchronized rights"), Func_Icons::APPS_PREFERENCES_WEBSERVICES),
93
							absences_addon()->getUrl()."sync_client"
94
					)
95
			);
96
		}
97
98
99
		$WorkingHours = bab_functionality::get('WorkingHours');