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>
Tue, 18 Nov 2014 06:17:24 +0000 (14:17 +0800)
commit767d01cf396924490e358283876b64347afdab76
tree37defddb3a3b3821fc3ae895f8ce43acdf3dbd75
parentc106341098b28496bb7aca9c4739b2578bf3f7d0
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