From 7ef9c1b6f5d490c3e3d9ac8f201410e30ac847cc Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 11 Feb 2016 10:02:56 +0000 Subject: [PATCH] Bug 15446 [QA Followup] - Update new classes Signed-off-by: Jesse Weaver --- Koha/ItemType.pm | 2 +- Koha/ItemTypes.pm | 2 +- Koha/Libraries.pm | 2 +- Koha/Library.pm | 2 +- Koha/LibraryCategories.pm | 2 +- Koha/LibraryCategory.pm | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Koha/ItemType.pm b/Koha/ItemType.pm index ca9302db0d..99c072852a 100644 --- a/Koha/ItemType.pm +++ b/Koha/ItemType.pm @@ -83,7 +83,7 @@ sub translated_descriptions { =cut -sub type { +sub _type { return 'Itemtype'; } diff --git a/Koha/ItemTypes.pm b/Koha/ItemTypes.pm index afa25d097b..92fea9c331 100644 --- a/Koha/ItemTypes.pm +++ b/Koha/ItemTypes.pm @@ -39,7 +39,7 @@ Koha::ItemTypes - Koha ItemType Object set class =cut -sub type { +sub _type { return 'Itemtype'; } diff --git a/Koha/Libraries.pm b/Koha/Libraries.pm index eeb3213137..9f4831c406 100644 --- a/Koha/Libraries.pm +++ b/Koha/Libraries.pm @@ -41,7 +41,7 @@ Koha::Libraries - Koha Library Object set class =cut -sub type { +sub _type { return 'Branch'; } diff --git a/Koha/Library.pm b/Koha/Library.pm index 7420c6a091..44088ea0fd 100644 --- a/Koha/Library.pm +++ b/Koha/Library.pm @@ -58,7 +58,7 @@ sub add_to_categories { =cut -sub type { +sub _type { return 'Branch'; } diff --git a/Koha/LibraryCategories.pm b/Koha/LibraryCategories.pm index bacbbad652..f299a6c5ac 100644 --- a/Koha/LibraryCategories.pm +++ b/Koha/LibraryCategories.pm @@ -41,7 +41,7 @@ Koha::LibraryCategories - Koha Library Category Object set class =cut -sub type { +sub _type { return 'Branchcategory'; } diff --git a/Koha/LibraryCategory.pm b/Koha/LibraryCategory.pm index f675d89f2c..030b6c1b0d 100644 --- a/Koha/LibraryCategory.pm +++ b/Koha/LibraryCategory.pm @@ -51,7 +51,7 @@ sub branchcodes{ =cut -sub type { +sub _type { return 'Branchcategory'; } -- 2.39.5