Merge branch 'MDL-69765-main' of https://github.com/lucaboesch/moodle into main

This commit is contained in:
Mihail Geshoski
2025-06-05 12:10:24 +08:00
-3
View File
@@ -162,9 +162,6 @@ class qtype_essay_renderer extends qtype_renderer {
'attachments', $options->context->id);
$pickeroptions->context = $options->context;
$pickeroptions->return_types = FILE_INTERNAL | FILE_CONTROLLED_LINK;
$pickeroptions->itemid = $qa->prepare_response_files_draft_itemid(
'attachments', $options->context->id);
$pickeroptions->accepted_types = $qa->get_question()->filetypeslist;
$fm = new form_filemanager($pickeroptions);