From 481e4422638d1be524493f939408f4472777bf0f Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 24 Apr 2024 09:56:06 +0100 Subject: [PATCH] Bug 35581: (RM follow-up) Add class decorations to schema This patch adds the missing koha_objects_class and koha_object_class definitions to Koha::Schema::Result::Illcomment. Signed-off-by: Martin Renvoize --- Koha/Schema/Result/Illcomment.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Koha/Schema/Result/Illcomment.pm b/Koha/Schema/Result/Illcomment.pm index 90a389a095..62f0341b7a 100644 --- a/Koha/Schema/Result/Illcomment.pm +++ b/Koha/Schema/Result/Illcomment.pm @@ -141,7 +141,13 @@ __PACKAGE__->belongs_to( # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:z5Y6mVTLtrYxmqmyAc/E7A - +# +sub koha_objects_class { + 'Koha::ILL::Comments'; +} +sub koha_object_class { + 'Koha::ILL::Comment'; +} # You can replace this text with custom code or comments, and it will be preserved on regeneration 1; -- 2.39.2