Commit 461c86db authored by Ruslan Kabalin's avatar Ruslan Kabalin
Browse files

comment: define MAX_FILE_SIZE for attachments


Signed-off-by: default avatarRuslan Kabalin <ruslan.kabalin@luns.net.uk>
parent 3dd0e821
......@@ -528,6 +528,7 @@ class ArtefactTypeComment extends ArtefactType {
'type' => 'files',
'title' => get_string('attachfile', 'artefact.comment'),
'defaultvalue' => array(),
'maxfilesize' => get_max_upload_size(false),
);
}
$form['elements']['submit'] = array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment