Add a notice if the module cron is disabled

This commit is contained in:
Chl 2021-12-04 02:37:38 +01:00
parent 224e82f9fa
commit 904554a0e1
3 changed files with 7 additions and 0 deletions

View file

@ -166,6 +166,11 @@ else
{
print '<br>'.$langs->trans("NothingToSetup");
}
// Display a notice if the 'cron' module is not enabled
if (! in_array('cron', $conf->modules, true)) {
print '<div class="info"><p>' . $langs->trans('NoticeCronIsDisabled') . "</p></div>\n";
}
}