55_GDS.pm: remove debug code
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@9921 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user