Bug 24768: (RM follow-up) Add missing koha_object_class's

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Martin Renvoize 2020-04-17 16:05:43 +01:00
parent eed7aa216c
commit 4b290b9833
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
3 changed files with 19 additions and 3 deletions

View File

@ -94,6 +94,11 @@ __PACKAGE__->belongs_to(
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7vP3bJ0YA6LEepYOaNg++A
sub koha_objects_class {
'Koha::Course::Instructors';
}
sub koha_object_class {
'Koha::Course::Instructor';
}
# You can replace this text with custom content, and it will be preserved on regeneration
1;

View File

@ -258,5 +258,11 @@ __PACKAGE__->add_columns(
'+location_enabled' => { is_boolean => 1 },
);
# You can replace this text with custom content, and it will be preserved on regeneration
sub koha_objects_class {
'Koha::Course::Items';
}
sub koha_object_class {
'Koha::Course::Item';
}
1;

View File

@ -144,6 +144,11 @@ __PACKAGE__->belongs_to(
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8SDdUrbxKuAwp6rgn85RmA
sub koha_objects_class {
'Koha::Course::Reserves';
}
sub koha_object_class {
'Koha::Course::Reserve';
}
# You can replace this text with custom content, and it will be preserved on regeneration
1;