[Koha-bugs] [Bug 14893] Separate temporary storage per instance in Upload.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 21 14:57:00 CET 2016


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14893

--- Comment #9 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #8)
> Marcel,
> Why do you remove temporary uploads?

Because of their temporary nature :)

When I wrote this, I had the hope to still include this in 3.22.
So deleting these files was not an issue.
But, since these files have been uploaded as temporary, I imagine that we can
delete them as well at the time of an upgrade to the next release. A future
cron job should do that too (e.g. after x days).

For a server with multiple instances it would be more complex. Instead of
picking the files for each instance and moving them to different tmp
subfolders, it is much easier to remove them. Note also that we could have
permission problems here (even with deleting the folder).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list