Bug 12478: Add Koha::ItemType[s] classes

These 2 classes come from bug 14828.
Tests in t/db_dependent/Koha/ItemTypes.t should be updated.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2015-09-15 17:02:28 +01:00 committed by Brendan Gallagher
parent c5f351360f
commit 7c0cbc3fe8
2 changed files with 8 additions and 4 deletions

View File

@ -1,9 +1,5 @@
package Koha::ItemType;
# This represents a single itemtype
# Copyright 2014 Catalyst IT
#
# This file is part of Koha.
#
# Koha is free software; you can redistribute it and/or modify it under the
@ -93,4 +89,8 @@ sub _type {
return 'Itemtype';
}
sub type {
return 'Itemtype';
}
1;

View File

@ -43,6 +43,10 @@ sub _type {
return 'Itemtype';
}
sub type {
return 'Itemtype';
}
sub object_class {
return 'Koha::ItemType';
}