Merge branch 'MDL-51327-36' of git://github.com/mihailges/moodle into MOODLE_36_STABLE
This commit is contained in:
@@ -84,7 +84,14 @@ if ($deletesection) {
|
||||
}
|
||||
}
|
||||
|
||||
$editoroptions = array('context'=>$context ,'maxfiles' => EDITOR_UNLIMITED_FILES, 'maxbytes'=>$CFG->maxbytes, 'trusttext'=>false, 'noclean'=>true);
|
||||
$editoroptions = array(
|
||||
'context' => $context,
|
||||
'maxfiles' => EDITOR_UNLIMITED_FILES,
|
||||
'maxbytes' => $CFG->maxbytes,
|
||||
'trusttext' => false,
|
||||
'noclean' => true,
|
||||
'subdirs' => true
|
||||
);
|
||||
|
||||
$courseformat = course_get_format($course);
|
||||
$defaultsectionname = $courseformat->get_default_section_name($section);
|
||||
|
||||
Reference in New Issue
Block a user