MDL-71696 core_question: class autoload changes

This commit implements some class autoloading
fixes to align with core question structure.
This commit is contained in:
Safat Shahin
2022-02-03 22:22:50 +11:00
parent 3008edd366
commit bf55e5a481
38 changed files with 61 additions and 92 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ class qformat_default {
*/
public function setContexts($contexts) {
$this->contexts = $contexts;
$this->translator = new core_question\lib\context_to_string_translator($this->contexts);
$this->translator = new core_question\local\bank\context_to_string_translator($this->contexts);
}
/**