mirror of
https://github.com/moodle/moodle.git
synced 2025-03-03 07:19:09 +01:00
Applied the fix by Samuli.Karevaara, from the bug report - the directory is checked for existence beforehand. Previously it was created if it didn't exist, then the files within it were counted. Author: Luke Hudson <luke@catalyst.net.nz>