mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
2c9a5c009f
This change reverts much of MDL-74641, removing the erroneous userquota checks from zip_packer. Now, during extraction, the zip_packer will exit with an error status when it encounters a file which is larger than its advertised size, and NOT when it determines the size of the extracted files have exceeded the userquota (which only applies to private files and which was used incorrectly here). It also reverts changes to the draftfiles_ajax.php file, restoring the original (pre-MDL-74641) error handling.