]> git.koha-community.org Git - koha.git/commit
Bug 17501: Use Koha::Object in Koha::Upload::_register
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Sun, 20 Nov 2016 15:10:33 +0000 (16:10 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 20 Jan 2017 14:20:03 +0000 (14:20 +0000)
commit44c4b3fca6eff57dd88989309970fe9cebfb8b6e
tree2f0d44e4dccfbb65873c8a7c516e6972ed9df28c
parent44d4dc70404e596648415f3db60ff7975e986281
Bug 17501: Use Koha::Object in Koha::Upload::_register

The _register routine basically inserts a new record in uploaded_files.
It should use Koha::UploadedFile now.

Test plan:
[1] Run t/db_dependent/Upload.t
[2] Upload a file via Tools/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/Upload.pm