https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26992

--- Comment #6 from Frédéric Demians <frede...@tamil.fr> ---
> my $items = Koha::Items->search({ itemnumber => \@itemnumbers });
> while ( my $item = $items->next ) {
>     my $deleted_item = eval { $item->safe_delete };

Yes, it's better.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to