Only set housekeeping default if user has enabled
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
* FATAL warnings considered harmful
|
||||
* Only show STP blocked icon if port is UP
|
||||
* Store device model and serial via UTF8 conversion
|
||||
* Only set housekeeping default if user has enabled
|
||||
|
||||
2.024004 - 2014-03-04
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ setting('dns')->{hosts_file} ||= '/etc/hosts';
|
||||
|
||||
# housekeeping expire used to be called expiry
|
||||
setting('housekeeping')->{expire} ||= setting('housekeeping')->{expiry}
|
||||
if exists setting('housekeeping')->{expiry};
|
||||
if setting('housekeeping') and exists setting('housekeeping')->{expiry};
|
||||
|
||||
=head1 NAME
|
||||
|
||||
|
||||
Reference in New Issue
Block a user