From 4b03a1fd7ebfa81987301f8ca02af0692f23242e Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 24 Apr 2024 08:32:08 +0000 Subject: [PATCH] Bug 35581: Fix Illcomment schema file missing koha_object_class methods --- Koha/Schema/Result/Illcomment.pm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Koha/Schema/Result/Illcomment.pm b/Koha/Schema/Result/Illcomment.pm index 90a389a095a..125bee64068 100644 --- a/Koha/Schema/Result/Illcomment.pm +++ b/Koha/Schema/Result/Illcomment.pm @@ -143,5 +143,12 @@ __PACKAGE__->belongs_to( # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:z5Y6mVTLtrYxmqmyAc/E7A -# You can replace this text with custom code or comments, and it will be preserved on regeneration +sub koha_object_class { + 'Koha::ILL::Comment'; +} + +sub koha_objects_class { + 'Koha::ILL::Comments'; +} + 1; -- 2.39.2