Make always basic checks while browsing pandora
Former-commit-id: db93bfdaa674cd2d632153825c37a8a41152dc2c
This commit is contained in:
parent
5e496d0d7a
commit
9fd391a819
|
@ -2684,9 +2684,7 @@ function config_check()
|
||||||
if (enterprise_installed() === false) {
|
if (enterprise_installed() === false) {
|
||||||
$supervisor = new ConsoleSupervisor(false);
|
$supervisor = new ConsoleSupervisor(false);
|
||||||
$supervisor->run();
|
$supervisor->run();
|
||||||
} else if ($config['cron_last_run'] == 0
|
} else {
|
||||||
|| (get_system_time() - $config['cron_last_run']) > 3600
|
|
||||||
) {
|
|
||||||
$supervisor = new ConsoleSupervisor(false);
|
$supervisor = new ConsoleSupervisor(false);
|
||||||
$supervisor->runBasic();
|
$supervisor->runBasic();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue