bug 14504: (QA followup) fixing DelItemCheck arguments
commitc02b33e4254c72d20941f87fe7a5c58bcb5838f9
authorBarton Chittenden <barton@bywatersolutions.com>
Thu, 29 Oct 2015 13:06:08 +0000 (29 06:06 -0700)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 26 Aug 2016 12:07:26 +0000 (26 12:07 +0000)
tree94fc9b4dec8b460855776406f76df397d9451a2e
parent59ac9be07e70b23c2dfcd009f6d5f689d1065c9b
bug 14504: (QA followup) fixing DelItemCheck arguments

Remove $dbh as argument to C4::Items::DelItemCheck
and C4::Items::ItemSafeToDelete, also change all
calls to these functions throughout the codebase.

Also remove remaining reference to 'do_not_commit' in
t/db_dependent/Items_DelItemCheck.t

Fixed doubled "$$" in C4/ImportBatch.pm

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Acquisition.pm
C4/ImportBatch.pm
C4/Items.pm
cataloguing/additem.pl
misc/cronjobs/delete_items.pl
t/db_dependent/Circulation/IsItemIssued.t
t/db_dependent/Items_DelItemCheck.t
t/db_dependent/Reserves.t
tools/batchMod.pl
tools/batch_delete_records.pl