Code Duplication    Length = 5-5 lines in 2 locations

programs/utilit/vacincl.php 2 locations

@@ 1414-1418 (lines=5) @@
1411
				$agent->addMovement(sprintf(absences_translate('The approbation shema has been modified from %s to %s'), $old['name'], $new['name']));
1412
			}
1413
1414
			if( $agent->id_sa_cet != $id_sa_cet )
1415
			{
1416
				$agent->addMovement(sprintf(absences_translate('The approbation shema for time saving account has been modified from %s to %s'),
1417
						absences_getWfName($agent->id_sa_cet), absences_getWfName($id_sa_cet)));
1418
			}
1419
1420
			if( $agent->id_sa_recover != $id_sa_recover )
1421
			{
@@ 1420-1424 (lines=5) @@
1417
						absences_getWfName($agent->id_sa_cet), absences_getWfName($id_sa_cet)));
1418
			}
1419
1420
			if( $agent->id_sa_recover != $id_sa_recover )
1421
			{
1422
				$agent->addMovement(sprintf(absences_translate('The approbation shema for work period recovery has been modified from %s to %s'),
1423
						absences_getWfName($agent->id_sa_recover), absences_getWfName($id_sa_recover)));
1424
			}
1425
1426
1427
		}