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:
parent
ad6cda6e25
commit
31aaa6290b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user