2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-17 05:16:02 +00:00

98_HMtemplate:remove debug info

git-svn-id: https://svn.fhem.de/fhem/trunk@12891 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2016-12-27 20:01:42 +00:00
parent 4f407146de
commit 28cb482013

View File

@ -219,7 +219,6 @@ sub HMtemplate_GetFn($@) {#####################################################
my ($type) = @a;
my $tN = InternalVal($name,"tpl_Name",undef);
return "template not defined" if (!$tN || ! defined $culHmTpl->{$tN});
Log 1,"General ######### my template $tN";
$ret = HMinfo_templateUsg("","",$tN);
}
@ -409,7 +408,6 @@ sub HMtemplate_SetFn($@) {#####################################################
else{
my @cmdLst = @{$HtState{${$eSt}}{cmd}};
my $tList = ":".join(",",sort keys%{$culHmTpl});
Log 1,"General start\n".join("\n :",sort keys%{$culHmTpl});
$_ .=$tList foreach(grep/^(edit|delete|select)$/,@cmdLst);
$ret = "Unknown argument $cmd, choose one of ".join (" ",sort @cmdLst);