Changeset 2144
- Timestamp:
- 06/26/18 18:45:48 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/User.pm
r2141 r2144 1648 1648 } 1649 1649 1650 # Managing expire: 1651 # If we found next status apply, keep it for expiration 1652 # Otherwise we reset to previous end of status 1653 1654 if (my $expire = $self->_computeEndEmployment($self->base->config('employment_delay') || 0)) { 1655 $changes{ 'expire' } = $expire; 1656 } elsif (my $expiren = $self->_computeEndEmployment($self->base->config('employment_delay') || 0, 1)) { 1657 $changes{ 'expire' } = $expiren; 1658 } 1659 1650 1660 if (%changes) { 1651 1661 if ($self->set_fields(%changes)) {
Note: See TracChangeset
for help on using the changeset viewer.