diff --git a/Koha/Patron/Message.pm b/Koha/Patron/Message.pm index 501e6ee5cd..a928fa5a01 100644 --- a/Koha/Patron/Message.pm +++ b/Koha/Patron/Message.pm @@ -68,11 +68,11 @@ sub delete { return $self->SUPER::delete($self); } -=head3 type +=head3 _type =cut -sub type { +sub _type { return 'Message'; } diff --git a/Koha/Patron/Messages.pm b/Koha/Patron/Messages.pm index 4f2f9f4ebf..a5dd8abbf2 100644 --- a/Koha/Patron/Messages.pm +++ b/Koha/Patron/Messages.pm @@ -35,11 +35,11 @@ Koha::Patron::Messages - Koha Message Object set class =cut -=head3 type +=head3 _type =cut -sub type { +sub _type { return 'Message'; }