Bug 24757: Leap day failing tests - It's like we are on 2020-02-28
[koha.git] / Koha / Illcomments.pm
blob01d15884e78d25c70dc4a570c351cb27412a622a
1 package Koha::Illcomments;
3 # Copyright Magnus Enger Libriotech 2017
5 # This file is part of Koha.
7 # Koha is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or
10 # (at your option) any later version.
12 # Koha is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with Koha; if not, see <http://www.gnu.org/licenses>.
20 use Modern::Perl;
21 use Koha::Database;
22 use Koha::Illcomment;
23 use base qw(Koha::Objects);
25 =head1 NAME
27 Koha::Illcomments - Koha Illcomments Object class
29 =head2 Internal methods
31 =head3 _type
33 my $type = Koha::IllComments->_type;
35 Return this object's type
37 =cut
39 sub _type {
40 return 'Illcomment';
43 =head3 object_class
45 my $class = Koha::IllComments->object_class;
47 Return this object's class name
49 =cut
51 sub object_class {
52 return 'Koha::Illcomment';
55 =head1 AUTHOR
57 Magnus Enger <magnus@libriotech.no>
59 =cut