From 09f26f0d3bae15c477fe1ccc6756b644609d8298 Mon Sep 17 00:00:00 2001 From: Arthur Suzuki Date: Fri, 27 Jan 2023 12:03:34 +0100 Subject: [PATCH] Revert "Bug 31873: Check ->find before calling ->safe_delete" This reverts commit e4ab9602c036f246797ba1ba09e1624a678ea1b3. --- cataloguing/additem.pl | 1 - koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt | 1 - 2 files changed, 2 deletions(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index b40edc4f5d..42e4781158 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -47,7 +47,6 @@ use Storable qw( freeze thaw ); use URI::Escape qw( uri_escape_utf8 ); use C4::Members; use Koha::UI::Form::Builder::Item; -use Koha::Result::Boolean; use MARC::File::XML; use URI::Escape qw( uri_escape_utf8 ); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt index 42acc93f5c..aa02320f52 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt @@ -62,7 +62,6 @@ [% IF ( not_same_branch ) %]
Cannot delete: The items do not belong to your library.
[% END %] [% IF ( linked_analytics ) %]
Cannot delete: item has linked analytics..
[% END %] [% IF last_item_for_hold %]
Cannot delete: Last item for bibliographic record with biblio-level hold on it.
[% END %] -[% IF item_not_found %]
Cannot delete: Item not found.
[% END %]
[% IF items %] -- 2.39.2