cleanup added
This commit is contained in:
parent
b4c5586ce7
commit
c9ae34f0c4
@ -392,10 +392,18 @@ sub TadoAPI_Undefine {
|
||||
|
||||
RemoveInternalTimer($hash);
|
||||
|
||||
#todo remove tokenfile
|
||||
return;
|
||||
}
|
||||
|
||||
sub TadoAPI_Delete {
|
||||
my ( $hash, $name ) = @_;
|
||||
RemoveInternalTimer($hash);
|
||||
# Löschen von Token-File
|
||||
unlink($tokenFile . "_" . $name);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
sub TadoAPI_CheckStatus {
|
||||
my $hash = shift;
|
||||
my $name = $hash->{NAME};
|
||||
|
Loading…
x
Reference in New Issue
Block a user