Bug 20727: Replace usage of File::Spec->tmpdir with Koha::UploadedFile->temporary_dir...
authorKyle M Hall <kyle@bywatetsolutions.com>
Wed, 9 May 2018 10:44:41 +0000 (06:44 -0400)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 22 Jun 2018 16:10:08 +0000 (16:10 +0000)
commitc2b0c928006de1ceea59f678a8732b9e7e074b63
tree2a13a782ad8726d4ddf332e1c14044c9bd1b094a
parentbf86fdd92d41222aa76be3155de664cc2594787a
Bug 20727: Replace usage of File::Spec->tmpdir with Koha::UploadedFile->temporary_directory

As explained in bug 20428 use tmpdir can cause issues and it just makes sense to standardize our temp directory in a universal way.

Test Plan:
1) Apply this patch
2) Verify you can still log in and use Koha
3) Verify the web installer still works
4) Verify EDI module can still download files via FTP
5) Verify fines.pl still runs with -o option
6) prove t/db_dependent/Plugins.t
7) prove t/db_dependent/Sitemapper.t
8) prove t/db_dependent/Templates.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Auth.pm
C4/InstallAuth.pm
Koha/Edifact/Transport.pm
misc/cronjobs/fines.pl
t/db_dependent/Plugins.t
t/db_dependent/Sitemapper.t
t/db_dependent/Templates.t