Code Duplication    Length = 8-9 lines in 6 locations

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

@@ 2140-2147 (lines=8) @@
2137
	
2138
	
2139
	
2140
	public static function gotoList()
2141
	{
2142
		require_once $GLOBALS['babInstallPath'].'utilit/urlincl.php';
2143
		
2144
		$url = bab_url::get_request('tg');
2145
		$url->idx = 'lvreq';
2146
		$url->location();
2147
	}
2148
2149
}
2150

programs/utilit/right.act.php 3 locations

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