1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Remove require NPM/NODE from setup checks

This commit is contained in:
David Bomba 2020-08-29 23:32:11 +10:00
parent 3dde9e5eee
commit 32e987a1b2
2 changed files with 3 additions and 3 deletions

View File

@ -213,7 +213,7 @@ class CompanyGateway extends BaseModel
if($this->gateway->provider == 'Stripe' && strpos($config->publishableKey, 'test'))
return true;
if(property_exists($config, 'testMode') && $config->testMode)
if($config && property_exists($config, 'testMode') && $config->testMode)
return true;
return false;

View File

@ -71,8 +71,8 @@ class SystemHealth
'env_writable' => self::checkEnvWritable(),
//'mail' => self::testMailServer(),
'simple_db_check' => (bool) self::simpleDbCheck(),
'npm_status' => self::checkNpm(),
'node_status' => self::checkNode(),
//'npm_status' => self::checkNpm(),
//'node_status' => self::checkNode(),
];
}