mirror of
https://github.com/moodle/moodle.git
synced 2025-03-29 20:12:42 +01:00
Private files uploaded by email will now honour the file quota limit, because the filesize is set correctly and checked against users' remaining personal quota limit. Previously, attachment size was always set to zero, and quota was checked against the draft area (this is not valid for email uploads, because each file is moved out of the draft area as it is processed, so multiple files totalling greater than the remaining quota would still pass the check).