Bug 17501: Rename Upload to Uploader
commit3acee793105f66ff0acc5b8879e3cbceb0fb2b54
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 24 Nov 2016 09:02:19 +0000 (24 10:02 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 20 Jan 2017 14:20:06 +0000 (20 14:20 +0000)
tree128478cb393e9d7ee56e5192ff973dc2af931090
parentba5cd2455327c8eddc4c5e9c90642398b210a680
Bug 17501: Rename Upload to Uploader

Why? Koha::Uploader now only contains the actual CGI upload. The new name
better reflects its handler status.
Pragmatically, the difference between Uploaded and Uploader makes it
easier to specifically search for them in the codebase.

Test plan:
[1] Run t/db_dependent/Upload.t.
[2] Add an upload via the interface.
[3] Check the code:
    git grep "Koha::Upload;"
    git grep "Koha::Upload\->"

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/Uploader.pm [moved from Koha/Upload.pm with 97% similarity]
t/db_dependent/Upload.t
tools/upload-file.pl