2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

57_SSCal: minor code change

git-svn-id: https://svn.fhem.de/fhem/trunk@21499 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-03-24 10:08:20 +00:00
parent d378ed57aa
commit dcc2b99ad1

View File

@ -48,6 +48,7 @@ eval "use FHEM::Meta;1" or my $modMetaAbsent = 1;
# Versions History intern
my %SSCal_vNotesIntern = (
"2.2.3" => "24.03.2020 minor code change ",
"2.2.2" => "08.03.2020 review commandref ",
"2.2.1" => "04.03.2020 expand composite event 'compositeBlockNumbers' by 'none' ",
"2.2.0" => "03.03.2020 new composite event 'compositeBlockNumbers' ",
@ -2992,20 +2993,6 @@ sub SSCal_evaljson($$) {
return($hash,$success,$myjson);
}
###############################################################################
# JSON Boolean Test und Mapping
###############################################################################
sub SSCal_jboolmap($){
my ($bool) = @_;
if(JSON::is_bool($bool)) {
$bool = $bool?"true":"false";
}
return $bool;
}
##############################################################################
# Auflösung Errorcodes Calendar AUTH API
# Übernahmewerte sind $hash, $errorcode
@ -3585,7 +3572,7 @@ return;
###############################################################################
# JSON Boolean Test und Mapping
###############################################################################
sub SSCal_jboolmap($){
sub SSCal_jboolmap($){
my ($bool)= @_;
if(JSON::is_bool($bool)) {