Comment 7 for bug 1940346

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Submitter: Robert Lyon (<email address hidden>)
Branch: main

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>