From a0a821be8af54c80324270ae1a0c24f13d9f1a4c Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 17 Oct 2022 18:00:41 -0300 Subject: [PATCH] Bug 31569: (QA follow-up) Add missing entries in schema Signed-off-by: Tomas Cohen Arazi --- Koha/Import/Record/Biblios.pm | 4 ---- Koha/Schema/Result/ImportBiblio.pm | 7 ++++++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Koha/Import/Record/Biblios.pm b/Koha/Import/Record/Biblios.pm index 36d725f589..b471e77f46 100644 --- a/Koha/Import/Record/Biblios.pm +++ b/Koha/Import/Record/Biblios.pm @@ -17,10 +17,6 @@ package Koha::Import::Record::Biblios; use Modern::Perl; -use Carp; - -use Koha::Database; - use Koha::Import::Record::Biblio; use base qw(Koha::Objects); diff --git a/Koha/Schema/Result/ImportBiblio.pm b/Koha/Schema/Result/ImportBiblio.pm index 4ed88db9d7..bbd0d6f4ac 100644 --- a/Koha/Schema/Result/ImportBiblio.pm +++ b/Koha/Schema/Result/ImportBiblio.pm @@ -128,6 +128,11 @@ __PACKAGE__->belongs_to( # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-17 11:17:50 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Oj/1VkjYP538OlNeu41mqA +sub koha_object_class { + 'Koha::Import::Record::Biblio'; +} +sub koha_objects_class { + 'Koha::Import::Record::Biblios'; +} -# You can replace this text with custom content, and it will be preserved on regeneration 1; -- 2.39.5