MDL-60427 dndupload: detect attempts to upload folders

This commit is contained in:
Davo Smith
2018-01-03 12:36:32 +00:00
parent 3fa531ea2c
commit 4e737cf37f
3 changed files with 25 additions and 6 deletions
+1
View File
@@ -64,6 +64,7 @@ function dndupload_add_to_course($course, $modnames) {
array('namedfiletoolarge', 'moodle'),
array('actionchoice', 'moodle'),
array('servererror', 'moodle'),
array('filereaderror', 'moodle'),
array('upload', 'moodle'),
array('cancel', 'moodle')
),