Skip to content

Commit 0b07153

Browse files
committed
remove not needed anymore dependancy_info
1 parent 8f9f861 commit 0b07153

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

core/class/zwavejs.class.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -302,23 +302,6 @@ public static function additionnalDependancyCheck() {
302302
return $return;
303303
}
304304

305-
public static function dependancy_info() {
306-
if (config::byKey('zwavejs::mode', 'zwavejs') == 'distant') {
307-
$return = array();
308-
$return['state'] = 'ok';
309-
return $return;
310-
}
311-
$return = array();
312-
$return['progress_file'] = jeedom::getTmpFolder(__CLASS__) . '/dependance';
313-
$return['state'] = 'ok';
314-
if (config::byKey('lastDependancyInstallTime', __CLASS__) == '') {
315-
$return['state'] = 'nok';
316-
} else if (!file_exists(__DIR__ . '/../../resources/zwave-js-ui/node_modules')) {
317-
$return['state'] = 'nok';
318-
}
319-
return $return;
320-
}
321-
322305
public static function deamon_info() {
323306
if (config::byKey('zwavejs::mode', 'zwavejs') == 'distant') {
324307
$return = array();

0 commit comments

Comments
 (0)