From 6c686f7067dcb5292e35d69a7a1b7d5067345fbb 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. --- 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/Serial.pm | 2 +- Koha/Serials.pm | 2 +- Koha/Subscription.pm | 2 +- Koha/Subscription/Histories.pm | 2 +- Koha/Subscription/History.pm | 2 +- Koha/Subscriptions.pm | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Koha/Authorities.pm b/Koha/Authorities.pm index c2a75b9..22ce7a2 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 c46ab9e..b03737d 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 73045fc..e882096 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 2df7d24..ccaef9d 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 7ad542d..d9ade57 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 8ccbea5..1e2931c 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 4b3d012..9d81db8 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 5c1b0bb..53f5b84 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/Serial.pm b/Koha/Serial.pm index d6342cc..67b32ec 100644 --- a/Koha/Serial.pm +++ b/Koha/Serial.pm @@ -39,7 +39,7 @@ Koha::Serial - Koha Serial Object class =cut -sub type { +sub _type { return 'Serial'; } diff --git a/Koha/Serials.pm b/Koha/Serials.pm index 5d16628..e970448 100644 --- a/Koha/Serials.pm +++ b/Koha/Serials.pm @@ -41,7 +41,7 @@ Koha::Serial - Koha Serial Object class =cut -sub type { +sub _type { return 'Serial'; } diff --git a/Koha/Subscription.pm b/Koha/Subscription.pm index 1ba0c16..332a018 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 c7e1c8c..440c022 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 b282fa3..1722d11 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 316bec7..3538c15 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.1.0