Merge branch 'w41_MDL-42040_m26_shutdown' of https://github.com/skodak/moodle
This commit is contained in:
@@ -165,7 +165,7 @@ function tool_dbtransfer_get_drivers() {
|
||||
function tool_dbtransfer_create_maintenance_file() {
|
||||
global $CFG;
|
||||
|
||||
register_shutdown_function('tool_dbtransfer_maintenance_callback');
|
||||
core_shutdown_manager::register_function('tool_dbtransfer_maintenance_callback');
|
||||
|
||||
$options = new stdClass();
|
||||
$options->trusted = false;
|
||||
|
||||
Reference in New Issue
Block a user