Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Marcel de Rooy 7a62005468 Bug 17501: Move Koha::Upload::delete to Koha::UploadedFile[s]
Since delete is not part of the upload process, we will move it now
to Koha::UploadedFile[s].
Deleting the file will be done in UploadedFile.
The (multiple) delete method in UploadedFiles refers to the single delete.

Test plan:
[1] Run t/db_dependent/Upload.t
    The warning ("but file was missing") in the last subtest is fine;
    the file did not exist. Will be addressed in a follow-up.
[2] Search for uploads on Tools/Upload. Clone this tab (repeat search on
    a new tab in your browser).
[3] Delete an existing upload on the first tab.
[4] Try to delete it again on the second tab. Error message?
[5] Bonus points:
    Add an upload. Mark the file immutable with chattr +i. Try to delete
    the file. You should see a "Could not be deleted"-message.

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>
2017-01-20 14:20:04 +00:00
..
acqui Bug 17487: Styling moved from style attribute into staff-global.css 2017-01-20 14:11:55 +00:00
admin Bug 17808: Fix behavior when editing a circ rule 2017-01-20 13:57:15 +00:00
authorities Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
basket Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
batch
catalogue Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
cataloguing Bug 17487: Styling moved from style attribute into staff-global.css 2017-01-20 14:11:55 +00:00
circ Bug 8361 (QA Followup) Add warnings 2017-01-20 13:41:59 +00:00
common Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
course_reserves Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
errors
help Bug 16933 - Update documentation/help file. 2016-12-23 11:23:35 +00:00
installer Bug 17504: Make the installer show the right dmbs help if wrong permissions 2016-11-02 10:58:49 +00:00
labels Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
members Bug 17891: Remove extra div tag in the housebound module 2017-01-19 12:45:37 +00:00
offline_circ Bug 17056 - Remove event attributes from various templates 2016-09-25 15:47:47 +00:00
patron_lists Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
patroncards Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
plugins Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
reports Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
reserve
reviews Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
rotating_collections Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
serials Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
services
sms
suggestion Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
tags Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
test
tools Bug 17501: Move Koha::Upload::delete to Koha::UploadedFile[s] 2017-01-20 14:20:04 +00:00
virtualshelves Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
about.tt Bug 7533: Add a warning to the about page if template_cache_dir is not set 2017-01-20 14:13:53 +00:00
auth.tt Bug 17859 - Move JavaScript to the footer on about and auth pages 2017-01-13 11:42:34 +00:00
intranet-main.tt Bug 16239: Update templates 2017-01-13 14:41:22 +00:00