@@ 512-516 (lines=5) @@ | ||
509 | $pos++; |
|
510 | } |
|
511 | ||
512 | if( count($uupd)> 0 ) |
|
513 | { |
|
514 | $progress->updateProgress(92, absences_translate('Notify users about the modified vacation')); |
|
515 | absences_notifyOnVacationChange($uupd, $right->quantity, $right->date_begin_fixed, $right->date_end_fixed, ABSENCES_FIX_UPDATE); |
|
516 | } |
|
517 | ||
518 | if( count($uadd)> 0 ) |
|
519 | { |
|
@@ 518-522 (lines=5) @@ | ||
515 | absences_notifyOnVacationChange($uupd, $right->quantity, $right->date_begin_fixed, $right->date_end_fixed, ABSENCES_FIX_UPDATE); |
|
516 | } |
|
517 | ||
518 | if( count($uadd)> 0 ) |
|
519 | { |
|
520 | $progress->updateProgress(97, absences_translate('Notify users about the new vacation')); |
|
521 | absences_notifyOnVacationChange($uadd, $right->quantity, $right->date_begin_fixed, $right->date_end_fixed, ABSENCES_FIX_ADD); |
|
522 | } |
|
523 | ||
524 | $progress->updateProgress(100, absences_translate('Finished')); |
|
525 | } |