Merge branch 'MDL-73905_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE

This commit is contained in:
Sara Arjona
2022-02-21 16:40:39 +01:00
+1 -1
View File
@@ -241,7 +241,7 @@ class manager {
// exist in the message_provider table (thus there is no default settings for them).
$preferrormsg = "Could not load preference $defaultpreference. Make sure the component and name you supplied
to message_send() are valid.";
throw new coding_exception($preferrormsg);
throw new \coding_exception($preferrormsg);
}
// Find out if user has configured this output.