Ignore:
Timestamp:
11/30/18 23:21:16 (6 years ago)
Author:
nanardon
Message:

Add an option 'endCircuitdontExpire' to disable endcircuit attribute behavior

File:
1 edited

Legend:

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

    r2041 r2156  
    105105 
    106106sub config { 
    107     my ($self, $opt) = @_; 
    108     return $self->{_options}{$opt}; 
     107    my ($self, $opt, $default) = @_; 
     108    return defined($self->{_options}{$opt}) ? $self->{_options}{$opt} : $default; 
    109109} 
    110110 
Note: See TracChangeset for help on using the changeset viewer.