Code Duplication    Length = 8-9 lines in 6 locations

programs/utilit/right.act.php 3 locations

@@ 1056-1064 (lines=9) @@
1053
	}
1054
	
1055
	
1056
	public static function goToNoBeneficiaries($id)
1057
	{
1058
		require_once $GLOBALS['babInstallPath'].'utilit/urlincl.php';
1059
		$url = bab_url::get_request('tg');
1060
		$url->idx = 'nobenef';
1061
		$url->idvr = $id;
1062
		$url->location();
1063
		return true;
1064
	}
1065
	
1066
	
1067
	public static function goToUpdateFixed($id)
@@ 1067-1075 (lines=9) @@
1064
	}
1065
	
1066
	
1067
	public static function goToUpdateFixed($id)
1068
	{
1069
		require_once $GLOBALS['babInstallPath'].'utilit/urlincl.php';
1070
		$url = bab_url::get_request('tg');
1071
		$url->idx = 'fixedud';
1072
		$url->idvr = $id;
1073
		$url->location();
1074
		return true;
1075
	}
1076
	
1077
	
1078
	public static function redirect()
@@ 1078-1085 (lines=8) @@
1075
	}
1076
	
1077
	
1078
	public static function redirect()
1079
	{
1080
		require_once $GLOBALS['babInstallPath'].'utilit/urlincl.php';
1081
		$url = bab_url::get_request('tg');
1082
		$url->idx = 'lrig';
1083
		$url->location();
1084
		return true;
1085
	}
1086
	
1087
}	
1088
	

programs/vacadmcet.php 1 location

@@ 152-159 (lines=8) @@
149
150
151
152
function absences_CETgotoList()
153
{
154
	require_once $GLOBALS['babInstallPath'].'utilit/urlincl.php';
155
156
	$url = bab_url::get_request('tg');
157
	$url->idx = 'list';
158
	$url->location();
159
}
160
161
162

programs/vacadmwd.php 1 location

@@ 205-212 (lines=8) @@
202
203
204
205
function absences_WDgotoList()
206
{
207
	require_once $GLOBALS['babInstallPath'].'utilit/urlincl.php';
208
209
	$url = bab_url::get_request('tg');
210
	$url->idx = 'list';
211
	$url->location();
212
}
213
214
215
function absences_WorkingDayEdit()

programs/vacuser.php 1 location

@@ 2054-2061 (lines=8) @@
2051
	
2052
	
2053
	
2054
	public static function gotoList()
2055
	{
2056
		require_once $GLOBALS['babInstallPath'].'utilit/urlincl.php';
2057
		
2058
		$url = bab_url::get_request('tg');
2059
		$url->idx = 'lvreq';
2060
		$url->location();
2061
	}
2062
2063
}
2064