mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
configDB.pm: prepare for holiday-filename-compatibility
git-svn-id: https://svn.fhem.de/fhem/trunk@14296 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
af77ed1f1a
commit
8f9f0441a4
@ -613,8 +613,12 @@ sub cfgDB_MigrationImport() {
|
||||
@def = _cfgDB_findDef('TYPE=holiday','NAME');
|
||||
foreach $filename (@def) {
|
||||
next unless $filename;
|
||||
if(defined($defs{$filename}{HOLIDAYFILE})) {
|
||||
push @files, $defs{$filename}{HOLIDAYFILE};
|
||||
} else {
|
||||
push @files, "$modpath/FHEM/".$filename.".holiday";
|
||||
}
|
||||
}
|
||||
|
||||
# import uniqueID file
|
||||
$filename = "$modpath/FHEM/FhemUtils/uniqueID";
|
||||
|
Loading…
x
Reference in New Issue
Block a user