Bug 12583: DelItem prototype - Remove $dbh
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 16 Jul 2014 11:39:07 +0000 (13:39 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 25 Jul 2014 22:06:03 +0000 (19:06 -0300)
commit7c809faba9e3a756374df5de82d6c98884cbe677
tree42a74ef62de4876ee2fa396bc25271f267474ee1
parent564018291e17698aace4f4048b2e3a4875b443e2
Bug 12583: DelItem prototype - Remove $dbh

Since C4::Context->dbh shares the DB handler, it's useless to pass it to
routines.

Test plan:
Try to remove an item from the Koha interface.
Verify that unit tests pass.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Acquisition.pm
C4/Items.pm
t/db_dependent/Items.t