mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 19:32:42 +00:00
55_GDS.pm: remove debug code
git-svn-id: https://svn.fhem.de/fhem/trunk@9921 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
55e9ad0d6b
commit
2c48428367
@ -1603,11 +1603,11 @@ sub _mergeCapFile($) {
|
||||
push (@alertsArray,"</gds>");
|
||||
|
||||
# write the big XML file if needed
|
||||
# if(AttrVal($name,"gdsDebug", 0)) {
|
||||
if(AttrVal($name,"gdsDebug", 0)) {
|
||||
my $cF = $destinationDirectory."/gds_alerts";
|
||||
unlink $cF if -e $cF;
|
||||
FileWrite({ FileName=>$cF,ForceType=>"file" },@alertsArray);
|
||||
# }
|
||||
}
|
||||
|
||||
my $xmlContent = join('',@alertsArray);
|
||||
return ($countInfo,$xmlContent);
|
||||
|
Loading…
x
Reference in New Issue
Block a user