Changeset 1921 for trunk


Ignore:
Timestamp:
01/10/17 16:55:42 (7 years ago)
Author:
nanardon
Message:

Don't try to wonder an expiration date is there is no one

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/User.pm

    r1918 r1921  
    15551555    ); 
    15561556 
    1557     # TODO rework this working code but bloat 
     1557    # TODO rework this, working code but bloat 
    15581558    if ($expireOn ne 'never') { 
    15591559        my $endemploy = ''; 
     
    15641564            $endemploy = ''; 
    15651565        } else { 
    1566             # due to time zone, 0 is never 0 
    1567             if ($expire > 86400 && $expire < time) { 
    1568                 $endemploy = 'UNCHANGED'; 
    1569             } else { 
    1570                 $endemploy = $self->_get_attributes('create'); 
    1571             } 
     1566            # No expiration date apply, don't touch 
     1567            $endemploy = 'UNCHANGED'; 
    15721568        } 
    15731569 
Note: See TracChangeset for help on using the changeset viewer.