From 7cb660c665010c056e9e2c6ccddaebfdd3033a00 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 5 Jan 2016 15:24:46 +0000 Subject: [PATCH] Bug 15446: (follow-up) Rename Koha::Object[s]->type with _type Some occurrences have been pushed in the meantime. Signed-off-by: Kyle M Hall Signed-off-by: Jesse Weaver --- Koha/Authorities.pm | 2 +- Koha/Authority.pm | 2 +- Koha/Authority/Type.pm | 2 +- Koha/Authority/Types.pm | 2 +- Koha/BiblioFramework.pm | 2 +- Koha/BiblioFrameworks.pm | 2 +- Koha/IssuingRule.pm | 2 +- Koha/IssuingRules.pm | 2 +- Koha/Subscription.pm | 2 +- Koha/Subscription/Histories.pm | 2 +- Koha/Subscription/History.pm | 2 +- Koha/Subscriptions.pm | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Koha/Authorities.pm b/Koha/Authorities.pm index c2a75b9dcd..22ce7a2ca3 100644 --- a/Koha/Authorities.pm +++ b/Koha/Authorities.pm @@ -41,7 +41,7 @@ Koha::Authorities - Koha Authority object set class =cut -sub type { +sub _type { return 'AuthHeader'; } diff --git a/Koha/Authority.pm b/Koha/Authority.pm index c46ab9e0a8..b03737d59f 100644 --- a/Koha/Authority.pm +++ b/Koha/Authority.pm @@ -39,7 +39,7 @@ Koha::Authority - Koha Authority Object class =cut -sub type { +sub _type { return 'AuthHeader'; } diff --git a/Koha/Authority/Type.pm b/Koha/Authority/Type.pm index 73045fc9f5..e882096ec5 100644 --- a/Koha/Authority/Type.pm +++ b/Koha/Authority/Type.pm @@ -42,7 +42,7 @@ sub auth_tag_structures { =cut -sub type { +sub _type { return 'AuthType'; } diff --git a/Koha/Authority/Types.pm b/Koha/Authority/Types.pm index 2df7d240d0..ccaef9da8c 100644 --- a/Koha/Authority/Types.pm +++ b/Koha/Authority/Types.pm @@ -39,7 +39,7 @@ Koha::Authority::Types - Koha Authority Type Object set class =cut -sub type { +sub _type { return 'AuthType'; } diff --git a/Koha/BiblioFramework.pm b/Koha/BiblioFramework.pm index 7ad542da78..d9ade57b2b 100644 --- a/Koha/BiblioFramework.pm +++ b/Koha/BiblioFramework.pm @@ -37,7 +37,7 @@ Koha::BiblioFramework - Koha BiblioFramework Object class =cut -sub type { +sub _type { return 'BiblioFramework'; } diff --git a/Koha/BiblioFrameworks.pm b/Koha/BiblioFrameworks.pm index 8ccbea5e2c..1e2931c34f 100644 --- a/Koha/BiblioFrameworks.pm +++ b/Koha/BiblioFrameworks.pm @@ -39,7 +39,7 @@ Koha::BiblioFrameworks - Koha BiblioFramework Object set class =cut -sub type { +sub _type { return 'BiblioFramework'; } diff --git a/Koha/IssuingRule.pm b/Koha/IssuingRule.pm index 4b3d01261d..9d81db82ab 100644 --- a/Koha/IssuingRule.pm +++ b/Koha/IssuingRule.pm @@ -35,7 +35,7 @@ Koha::Hold - Koha Hold object class =cut -sub type { +sub _type { return 'Issuingrule'; } diff --git a/Koha/IssuingRules.pm b/Koha/IssuingRules.pm index 5c1b0bb0af..53f5b84deb 100644 --- a/Koha/IssuingRules.pm +++ b/Koha/IssuingRules.pm @@ -35,7 +35,7 @@ Koha::IssuingRules - Koha IssuingRules object set class =cut -sub type { +sub _type { return 'Issuingrule'; } diff --git a/Koha/Subscription.pm b/Koha/Subscription.pm index 1ba0c16f61..332a01839a 100644 --- a/Koha/Subscription.pm +++ b/Koha/Subscription.pm @@ -39,7 +39,7 @@ Koha::Subscription - Koha Subscription Object class =cut -sub type { +sub _type { return 'Subscription'; } diff --git a/Koha/Subscription/Histories.pm b/Koha/Subscription/Histories.pm index c7e1c8cbf8..440c022fb9 100644 --- a/Koha/Subscription/Histories.pm +++ b/Koha/Subscription/Histories.pm @@ -41,7 +41,7 @@ Koha::Subscription::Histories - Koha Subscription Histories Object class =cut -sub type { +sub _type { return 'Subscriptionhistory'; } diff --git a/Koha/Subscription/History.pm b/Koha/Subscription/History.pm index b282fa30cb..1722d11fe4 100644 --- a/Koha/Subscription/History.pm +++ b/Koha/Subscription/History.pm @@ -39,7 +39,7 @@ Koha::Subscription::History - Koha Subscription History Object class =cut -sub type { +sub _type { return 'Subscriptionhistory'; } diff --git a/Koha/Subscriptions.pm b/Koha/Subscriptions.pm index 316bec774a..3538c15cd6 100644 --- a/Koha/Subscriptions.pm +++ b/Koha/Subscriptions.pm @@ -41,7 +41,7 @@ Koha::Subscription - Koha Subscription Object class =cut -sub type { +sub _type { return 'Subscription'; } -- 2.39.5