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:
parent
c5f351360f
commit
7c0cbc3fe8
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -43,6 +43,10 @@ sub _type {
|
|||
return 'Itemtype';
|
||||
}
|
||||
|
||||
sub type {
|
||||
return 'Itemtype';
|
||||
}
|
||||
|
||||
sub object_class {
|
||||
return 'Koha::ItemType';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue