Commit 66e3ccea authored by Sara Arjona's avatar Sara Arjona
Browse files

Merge branch 'MDL-69900-master' of git://github.com/mihailges/moodle into master

parents c8ad0ca2 0544ab90
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment