mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Something old needing checking in
This commit is contained in:
parent
3a398afcf1
commit
3699264c68
1 changed files with 5 additions and 0 deletions
|
@ -328,6 +328,11 @@
|
||||||
print_spacer(10,10);
|
print_spacer(10,10);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ini_get_bool('register_globals') && !ini_get_bool('magic_quotes_gpc')) {
|
||||||
|
print_simple_box(get_string('globalsquoteswarning', 'admin'), 'center');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/// If no recently cron run
|
/// If no recently cron run
|
||||||
$lastcron = get_field_sql('SELECT max(lastcron) FROM ' . $CFG->prefix . 'modules');
|
$lastcron = get_field_sql('SELECT max(lastcron) FROM ' . $CFG->prefix . 'modules');
|
||||||
if (time() - $lastcron > 3600 * 24) {
|
if (time() - $lastcron > 3600 * 24) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue