eventTypes clear (by betateilchen, #23024)

git-svn-id: https://svn.fhem.de/fhem/trunk@5693 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2014-04-29 12:32:11 +00:00
parent 7a65fb75fe
commit f0e1161653

View File

@@ -131,8 +131,11 @@ eventTypes_Set($@)
{
my ($hash, @a) = @_;
return "Unknown argument $a[1], choose one of flush" if($a[1] ne "flush");
return eventTypes_Shutdown($hash, $hash->{NAME});
return $modules{eventTypes}{ldata} = undef
if($a[1] eq "clear");
return eventTypes_Shutdown($hash, $hash->{NAME})
if($a[1] eq "flush");
return "Unknown argument $a[1], choose one of clear:noArg flush:noArg";
}
###################################