]> git.koha-community.org Git - koha.git/commit
Bug 18605: Remove TRUNCATE from C4/HoldsQueue.pm
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 15 May 2017 08:38:43 +0000 (10:38 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 24 Jul 2017 17:12:27 +0000 (14:12 -0300)
commitdb64c94953be772fb316d508fdfffd374ea1d835
treeaf19ed2820418fcfcaeb6356cbf5a80cc237f8db
parent214a0e61021934c7e6deee5a24cf11606a57199b
Bug 18605: Remove TRUNCATE from C4/HoldsQueue.pm

Replaces TRUNCATE by DELETE, since truncate implicitly commits. We don't
need to do that here. (Would complicate testing it too.)
Fixes typo disablig.
Add a simple test to HoldsQueue.t.

Test plan:
Run t/db_dependent/HoldsQueue.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/HoldsQueue.pm
t/db_dependent/HoldsQueue.t