Bug 23152: (RM follow-up) Add handling for Koha::Plugin::Methods
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 24 Jun 2019 15:56:56 +0000 (16:56 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 24 Jun 2019 16:03:19 +0000 (17:03 +0100)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Koha/Schema/Result/PluginMethod.pm

index a36cfb0..c2d7ddc 100644 (file)
@@ -62,6 +62,12 @@ __PACKAGE__->set_primary_key("plugin_class", "plugin_method");
 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-07-13 12:37:57
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:koGk3Dh0wkslqYPUqUcK0w
 
+sub koha_objects_class {
+    'Koha::Plugins::Methods';
+}
+sub koha_object_class {
+    'Koha::Plugins::Method';
+}
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
 1;