From fc2c3fdf4f82d40c58889567f1279710f66d3bcf 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 --- 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 ca9302d..99c0728 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 afa25d0..92fea9c 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 eeb3213..9f4831c 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 7420c6a..44088ea 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 bacbbad..f299a6c 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 f675d89..030b6c1 100644 --- a/Koha/LibraryCategory.pm +++ b/Koha/LibraryCategory.pm @@ -51,7 +51,7 @@ sub branchcodes{ =cut -sub type { +sub _type { return 'Branchcategory'; } -- 2.1.4