-
Bug
-
Resolution: Fixed
-
Major
-
2.9
-
MOODLE_29_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
wip-
MDL-48252-master -
-
BACKEND Sprint 18
file_temp_cleanup_task will only delete the most extreme children in a directory structure.
The code looks to see what time the file was modified, if it is older than a week it is deleted. Unfortunately the directory that the file was in has the time modified field changed and the directory is not removed until a week later when it eventually fits the criteria again.