Bug 36495: Use render_resource_deleted() helper everywhere
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 2 Apr 2024 19:11:49 +0000 (19:11 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 26 Apr 2024 16:06:14 +0000 (18:06 +0200)
commitbb879d3d053a03461c84ccc7e519b51b18579494
tree753fac95ee8d92e97e100e2d3f34c3b8d055d93a
parentcd3c5fcce9c557f0aa4d017a2f2273a4a68539a0
Bug 36495: Use render_resource_deleted() helper everywhere

This patch makes the API controllers use the render_resource_deleted() helper.

No behavior changes are expected.

To test:
1. Apply this patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/api/v1
=> SUCCESS: Nothing broke
3. Sign off :-D

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
39 files changed:
Koha/REST/V1/Acquisitions/Orders.pm
Koha/REST/V1/Acquisitions/Vendors.pm
Koha/REST/V1/AdvancedEditorMacro.pm
Koha/REST/V1/ArticleRequests.pm
Koha/REST/V1/Auth/Identity/Provider/Domains.pm
Koha/REST/V1/Auth/Identity/Providers.pm
Koha/REST/V1/Authorities.pm
Koha/REST/V1/Biblios.pm
Koha/REST/V1/Biblios/ItemGroups.pm
Koha/REST/V1/Biblios/ItemGroups/Items.pm
Koha/REST/V1/Bookings.pm
Koha/REST/V1/Cities.pm
Koha/REST/V1/Config/SMTP/Servers.pm
Koha/REST/V1/ERM/Agreements.pm
Koha/REST/V1/ERM/EHoldings/Packages/Local.pm
Koha/REST/V1/ERM/EHoldings/Titles/Local.pm
Koha/REST/V1/ERM/EUsage/CounterFiles.pm
Koha/REST/V1/ERM/EUsage/DefaultUsageReports.pm
Koha/REST/V1/ERM/EUsage/UsageDataProviders.pm
Koha/REST/V1/ERM/Licenses.pm
Koha/REST/V1/Holds.pm
Koha/REST/V1/ILL/Batch/Statuses.pm
Koha/REST/V1/ILL/Batches.pm
Koha/REST/V1/ImportBatchProfiles.pm
Koha/REST/V1/Items.pm
Koha/REST/V1/Libraries.pm
Koha/REST/V1/Patrons.pm
Koha/REST/V1/Patrons/Attributes.pm
Koha/REST/V1/Patrons/Holds.pm
Koha/REST/V1/Preservation/Processings.pm
Koha/REST/V1/Preservation/Trains.pm
Koha/REST/V1/Preservation/WaitingList.pm
Koha/REST/V1/Quotes.pm
Koha/REST/V1/ReturnClaims.pm
Koha/REST/V1/SearchFilter.pm
Koha/REST/V1/Suggestions.pm
Koha/REST/V1/Tickets.pm
Koha/REST/V1/TransferLimits.pm
Koha/REST/V1/TwoFactorAuth.pm