mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
16282275d1
In a custom step I needed to be able to upload a file I had previously saved to $CFG->dataroot/temp, but that was not possible. Also, the failure was not at all obvious. I have made it throw a clear exception if the file you are trying to upload does not exist.