correct an incorrect config variable
This commit is contained in:
parent
88161345ae
commit
977d24e82d
|
@ -24,7 +24,7 @@ sub DateTimeToQueryable {
|
|||
}
|
||||
sub ExpirationToDate {
|
||||
my $expire = shift;
|
||||
$expire = $expire ? { split ':', $expire } : config->{default_expire};
|
||||
$expire = $expire ? { split ':', $expire } : config->{expiration};
|
||||
return undef if $expire and $expire->{never};
|
||||
return DateTimeToQueryable(%{ $expire });
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue