mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 07:56:03 +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:
parent
4f407146de
commit
28cb482013
@ -219,7 +219,6 @@ sub HMtemplate_GetFn($@) {#####################################################
|
|||||||
my ($type) = @a;
|
my ($type) = @a;
|
||||||
my $tN = InternalVal($name,"tpl_Name",undef);
|
my $tN = InternalVal($name,"tpl_Name",undef);
|
||||||
return "template not defined" if (!$tN || ! defined $culHmTpl->{$tN});
|
return "template not defined" if (!$tN || ! defined $culHmTpl->{$tN});
|
||||||
Log 1,"General ######### my template $tN";
|
|
||||||
$ret = HMinfo_templateUsg("","",$tN);
|
$ret = HMinfo_templateUsg("","",$tN);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -409,7 +408,6 @@ sub HMtemplate_SetFn($@) {#####################################################
|
|||||||
else{
|
else{
|
||||||
my @cmdLst = @{$HtState{${$eSt}}{cmd}};
|
my @cmdLst = @{$HtState{${$eSt}}{cmd}};
|
||||||
my $tList = ":".join(",",sort keys%{$culHmTpl});
|
my $tList = ":".join(",",sort keys%{$culHmTpl});
|
||||||
Log 1,"General start\n".join("\n :",sort keys%{$culHmTpl});
|
|
||||||
$_ .=$tList foreach(grep/^(edit|delete|select)$/,@cmdLst);
|
$_ .=$tList foreach(grep/^(edit|delete|select)$/,@cmdLst);
|
||||||
|
|
||||||
$ret = "Unknown argument $cmd, choose one of ".join (" ",sort @cmdLst);
|
$ret = "Unknown argument $cmd, choose one of ".join (" ",sort @cmdLst);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user