Bug 30467: Don't send the delete request for each item
We are sending the request when all the items have been deleted. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
97e70e726b
commit
1c7fd5a588
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ sub process {
|
|||
|
||||
my $item = Koha::Items->find($record_id) || next;
|
||||
|
||||
my $return = $item->safe_delete;
|
||||
my $return = $item->safe_delete({ skip_record_index => 1 });
|
||||
unless ( $return ) {
|
||||
|
||||
# FIXME Do we need to rollback the whole transaction if a deletion failed?
|
||||
|
|
Loading…
Reference in a new issue