mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
MDL-69900 core_backup: Allow IMSCC v1.0 restore to finish
This commit is contained in:
parent
5ecd01fb19
commit
0544ab902d
@ -794,7 +794,7 @@ class cc2moodle {
|
||||
}
|
||||
}
|
||||
|
||||
protected function critical_error ($text) {
|
||||
protected static function critical_error ($text) {
|
||||
|
||||
$path_to_log = static::log_file();
|
||||
|
||||
|
@ -76,7 +76,7 @@ class entities {
|
||||
cc2moodle::log_action('Load the XML resource file: '.$path_to_file);
|
||||
|
||||
if (!$resource->load($path_to_file)) {
|
||||
cc2moodle::log_action('Cannot load the XML resource file: ' . $path_to_file, true);
|
||||
cc2moodle::log_action('Cannot load the XML resource file: ' . $path_to_file, false);
|
||||
}
|
||||
|
||||
return $resource;
|
||||
|
Loading…
x
Reference in New Issue
Block a user