mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 16:04:25 +02:00
Fix the cron help to point to the new help page in lang packs
This commit is contained in:
parent
44e029bb4c
commit
0301965a28
@ -337,7 +337,9 @@
|
||||
/// If no recently cron run
|
||||
$lastcron = get_field_sql('SELECT max(lastcron) FROM ' . $CFG->prefix . 'modules');
|
||||
if (time() - $lastcron > 3600 * 24) {
|
||||
print_simple_box(get_string('cronwarning', 'admin') , 'center', '50%');
|
||||
$strinstallation = get_string('installation', 'install');
|
||||
$helpbutton = helpbutton('install', $strinstallation, 'moodle', true, false, '', true);
|
||||
print_simple_box(get_string('cronwarning', 'admin').$helpbutton, 'center', '50%');
|
||||
}
|
||||
|
||||
/// Alert if we are currently in maintenance mode
|
||||
|
Loading…
x
Reference in New Issue
Block a user