mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Undo setup changes
This commit is contained in:
parent
444df3d850
commit
ffe73b77af
@ -90,13 +90,14 @@ class SystemHealth
|
|||||||
exec('node -v', $foo, $exitCode);
|
exec('node -v', $foo, $exitCode);
|
||||||
|
|
||||||
if ($exitCode === 0) {
|
if ($exitCode === 0) {
|
||||||
return true;
|
return $foo[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function checkNpm()
|
public static function checkNpm()
|
||||||
@ -105,14 +106,14 @@ class SystemHealth
|
|||||||
exec('npm -v', $foo, $exitCode);
|
exec('npm -v', $foo, $exitCode);
|
||||||
|
|
||||||
if ($exitCode === 0) {
|
if ($exitCode === 0) {
|
||||||
return true;
|
return $foo[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
|
||||||
|
|
||||||
}catch (\Exception $e) {
|
}catch (\Exception $e) {
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static function simpleDbCheck() :bool
|
private static function simpleDbCheck() :bool
|
||||||
|
Loading…
x
Reference in New Issue
Block a user