Merge branch 'MDL-69765-main' of https://github.com/lucaboesch/moodle into main
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user