]> git.koha-community.org Git - koha.git/commit
Bug 36873: Make Koha::Objects->delete pass parameters to the underlying method
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 15 May 2024 19:13:04 +0000 (16:13 -0300)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 1 Jul 2024 16:55:43 +0000 (18:55 +0200)
commit2d4ab2e1bc3a3a57173953317959f79a6f62ddd9
tree29e9f195ea9d9a57945219b8f4fdb26f00a1d6c6
parent2d5b3cb04b4ef60f01109aa1dcd1da1e3ef17733
Bug 36873: Make Koha::Objects->delete pass parameters to the underlying method

This patch makes the generic method pass any parameters it got passed to
the underlying `delete()` method.

To test:
1. Apply the unit tests patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/Koha/Objects.t
=> FAIL: Tests fail, parameters are not passed
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Objects.pm