2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

57_CALVIEW: code cleanup

git-svn-id: https://svn.fhem.de/fhem/trunk@7576 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
chris1284 2015-01-15 05:25:25 +00:00
parent 7722eb5a18
commit 7ba1cdea31

View File

@ -1,4 +1,4 @@
# $Id: 57_CALVIEW.pm 7005 2015-01-13 20:15:00Z chris1284 $
# $Id: 57_CALVIEW.pm 7006 2015-01-13 20:15:00Z chris1284 $
###########################
# CALVIEW
#
@ -30,7 +30,6 @@ sub CALVIEW_Define($$){
my $calender = $a[2];
my $inter = 43200;
my $modes = $a[3];
my $test = qx(fhem(\"list $calender TYPE\"));
return "invalid Calendername \"$calender\", define it first" if((devspec2array("NAME=$calender")) != 1 );
$hash->{NAME} = $name;
$hash->{KALENDER} = $calender;