Merge branch 'MDL-74182-master' of https://github.com/ericmerrill/moodle

This commit is contained in:
Sara Arjona 2022-06-08 10:41:48 +02:00
commit 0249e4046f

View File

@ -69,11 +69,11 @@ if ($options['help'] or (!$options['list'] and !$options['execute'])) {
die;
}
if ($options['showdebugging']) {
if ($options['showdebugging'] || !empty($CFG->showcrondebugging)) {
set_debugging(DEBUG_DEVELOPER, true);
}
if ($options['showsql']) {
if ($options['showsql'] || !empty($CFG->showcronsql)) {
$DB->set_debug(true);
}
if ($options['list']) {