Allowed file types not working in moodle 3.9?

Re: Allowed file types not working in moodle 3.9?

by Paul Lindgreen -
Number of replies: 1
Picture of Particularly helpful Moodlers
the hack at the following link appears to work, small code addition.
An array of acceptable filetypes is provided and a nice pop up warning occurs if you try to upload something not in the list
https://moodle.org/mod/forum/discuss.php?d=278392
In reply to Paul Lindgreen

Re: Allowed file types not working in moodle 3.9?

by Eva Koperdakova -
Hello,
I have experienced the same issue. Moodle docs say that I can modify accepted file types using Home|Site administration|Server|File types, but removing all video filetypes does not work, teachers are still able to upload video files.
Is old "hack" working for 3.9?
What happens when you update moodle (security, as 3.9 is LTS)? Have to modify moodle/repository/upload/lib.php each time after update?