commit 7005c9a619994fb713d92cf695f61f8fd8ae70aa
Author: Robert Lyon <email address hidden>
Date: Fri Aug 27 15:35:16 2021 +1200
Bug 1940346: Clear temp files from dataroot outside artefacts/ dir
There are a number of processes in Mahara that create temp files that
need to be around for a short period of time.
Some temp files like the langpack tar.gz files need to stay longer than
others so the file_cleanup_old_temp_files() function has different
time options to work out what is 'old' and can be cleaned up
Change-Id: If3f245f5bf294e5ca3286eb0a42370c1c4a1ce0e
Signed-off-by: Robert Lyon <email address hidden>
Reviewed: https:/ /reviews. mahara. org/12142 /git.mahara. org/mahara/ mahara/ commit/ 7005c9a619994fb 713d92cf695f61f 8fd8ae70aa
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: main
commit 7005c9a619994fb 713d92cf695f61f 8fd8ae70aa
Author: Robert Lyon <email address hidden>
Date: Fri Aug 27 15:35:16 2021 +1200
Bug 1940346: Clear temp files from dataroot outside artefacts/ dir
There are a number of processes in Mahara that create temp files that
need to be around for a short period of time.
Some temp files like the langpack tar.gz files need to stay longer than old_temp_ files() function has different
others so the file_cleanup_
time options to work out what is 'old' and can be cleaned up
Change-Id: If3f245f5bf294e 5ca3286eb0a4237 0c1c4a1ce0e
Signed-off-by: Robert Lyon <email address hidden>