Bug 21073: (QA follow-up) Avoid unnecessary unless/else construct
[koha.git] / Koha / Illrequestattributes.pm
blob1d87a901545ca07b465ec38dc814f9b60a0b25c7
1 package Koha::Illrequestattributes;
3 # Copyright PTFS Europe 2016
5 # This file is part of Koha.
7 # Koha is free software; you can redistribute it and/or modify it under the
8 # terms of the GNU General Public License as published by the Free Software
9 # Foundation; either version 3 of the License, or (at your option) any later
10 # version.
12 # Koha is distributed in the hope that it will be useful, but WITHOUT ANY
13 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
14 # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License along
17 # with Koha; if not, write to the Free Software Foundation, Inc.,
18 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 use Modern::Perl;
22 use Koha::Database;
23 use Koha::Illrequestattribute;
25 use base qw(Koha::Objects);
27 =head1 NAME
29 Koha::Illrequestattributes - Koha Illrequestattributes Object class
31 =head1 API
33 =head2 Class Methods
35 =head3 type
37 =cut
39 sub _type {
40 return 'Illrequestattribute';
43 =head3 object_class
45 =cut
47 sub object_class {
48 return 'Koha::Illrequestattribute';
51 =head1 AUTHOR
53 Alex Sassmannshausen <alex.sassmannshausen@ptfs-europe.com>
55 =cut