2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

42_npmjs: remove non-used code

git-svn-id: https://svn.fhem.de/fhem/trunk@18716 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2019-02-24 16:24:32 +00:00
parent ad6cda6e25
commit 31aaa6290b

View File

@ -235,14 +235,6 @@ sub Notify($$) {
}
$decode_json = undef;
# restore from upgradedList
$decode_json =
eval { decode_json( ReadingsVal( $name, '.upgradedList', '' ) ) };
unless ($@) {
$hash->{".fhem"}{npm}{upgradedpackages} = $decode_json;
}
$decode_json = undef;
# Trigger update
if ( ReadingsVal( $name, 'nodejsVersion', 'none' ) ne 'none' ) {
ProcessUpdateTimer($hash);