mirror of
https://github.com/moodle/moodle.git
synced 2025-03-28 19:42:56 +01:00
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.