minor fix changed customer check

Former-commit-id: f2659c9e7780dcddaa9528b1aa13a4d61026c154
This commit is contained in:
fbsanchez 2019-02-19 11:14:48 +01:00
parent 85371424ee
commit 8c09b945c7
1 changed files with 1 additions and 1 deletions

View File

@ -2673,7 +2673,7 @@ function config_check()
include_once __DIR__.'/class/ConsoleSupervisor.php';
// Enterprise customers launch supervisor using discovery task.
if (license_free()) {
if (enterprise_installed() === false) {
$supervisor = new ConsoleSupervisor(false);
$supervisor->run();
} else if ($config['cron_last_run'] == 0