MDL-75237 qformat_blackboard_six: Revert MDL-72029

This reverts commit 47c211ba0e.
This commit is contained in:
Petr Skoda
2022-08-12 04:17:17 +02:00
committed by Jenkins
parent 5a4f73d144
commit ce2d88a951
+1 -2
View File
@@ -152,8 +152,7 @@ class qformat_blackboard_six extends qformat_blackboard_six_base {
}
if ($examfile->getAttribute('type') == 'assessment/x-bb-pool') {
if ($examfile->getAttribute('baseurl')) {
$fileobj->filebase = clean_param($this->tempdir . '/'
. $examfile->getAttribute('baseurl'), PARAM_SAFEPATH);
$fileobj->filebase = $this->tempdir. '/' . $examfile->getAttribute('baseurl');
}
if ($content = $this->get_filecontent($examfile->getAttribute('file'))) {
$fileobj->filetype = self::FILETYPE_POOL;