MDL-48252 scheduled tasks: file_temp_cleanup_task does full delete.
authorAdrian Greeve <adrian@moodle.com>
Tue, 18 Nov 2014 05:56:11 +0000 (13:56 +0800)
committerAdrian Greeve <adrian@moodle.com>
Mon, 24 Nov 2014 01:41:42 +0000 (09:41 +0800)
commitbdead76ea4e31dc4c3e742d60ad6d48eeb9a2471
treea0691622a6d318b11d2ab8f8df9894a9ee7bc743
parentca0e301c7bc0d962583c87ae1dbd841e17c88815
MDL-48252 scheduled tasks: file_temp_cleanup_task does full delete.

This scheduled task was previously only doing a partial delete
due to the fact that the directory modification time would be
updated when a child file was deleted. It would then have to
wait another week before that directory could be deleted.
lib/classes/task/file_temp_cleanup_task.php