MDL-39474 introduce $CFG->debugdeveloper and cleanup $CFG init
This commit is contained in:
+1
-2
@@ -46,8 +46,7 @@ function cron_run() {
|
||||
$DB->set_debug(true);
|
||||
}
|
||||
if (!empty($CFG->showcrondebugging)) {
|
||||
$CFG->debug = DEBUG_DEVELOPER;
|
||||
$CFG->debugdisplay = true;
|
||||
set_debugging(DEBUG_DEVELOPER, true);
|
||||
}
|
||||
|
||||
set_time_limit(0);
|
||||
|
||||
Reference in New Issue
Block a user