Code Duplication    Length = 5-5 lines in 2 locations

programs/utilit/vacincl.php 2 locations

@@ 1383-1387 (lines=5) @@
1380
				$agent->addMovement(sprintf(absences_translate('The approbation shema has been modified from %s to %s'), $old['name'], $new['name']));
1381
			}
1382
1383
			if( $agent->id_sa_cet != $id_sa_cet )
1384
			{
1385
				$agent->addMovement(sprintf(absences_translate('The approbation shema for time saving account has been modified from %s to %s'),
1386
						absences_getWfName($agent->id_sa_cet), absences_getWfName($id_sa_cet)));
1387
			}
1388
1389
			if( $agent->id_sa_recover != $id_sa_recover )
1390
			{
@@ 1389-1393 (lines=5) @@
1386
						absences_getWfName($agent->id_sa_cet), absences_getWfName($id_sa_cet)));
1387
			}
1388
1389
			if( $agent->id_sa_recover != $id_sa_recover )
1390
			{
1391
				$agent->addMovement(sprintf(absences_translate('The approbation shema for work period recovery has been modified from %s to %s'),
1392
						absences_getWfName($agent->id_sa_recover), absences_getWfName($id_sa_recover)));
1393
			}
1394
1395
1396
		}