disabling files in grade feedback for now - we do not have area, gradebook does not support it, forms are not used correctly, ...

This commit is contained in:
Petr Skoda 2010-06-28 14:10:33 +00:00
parent d95ed8e376
commit 96f4a64b66

View file

@ -2215,7 +2215,7 @@ class mod_assignment_online_grading_form extends moodleform {
$editoroptions = array(); $editoroptions = array();
$editoroptions['filearea'] = 'assignment_online_submission'; $editoroptions['filearea'] = 'assignment_online_submission';
$editoroptions['noclean'] = false; $editoroptions['noclean'] = false;
$editoroptions['maxfiles'] = EDITOR_UNLIMITED_FILES; $editoroptions['maxfiles'] = 0; //TODO: no files for now, we need to first implement assignment_feedback area
$editoroptions['maxbytes'] = $this->_customdata->maxbytes; $editoroptions['maxbytes'] = $this->_customdata->maxbytes;
return $editoroptions; return $editoroptions;
} }