From 61eaa429bb5a01cda7d8794df8999664a888675b Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 13 Dec 2016 17:01:42 -0300 Subject: [PATCH] Bug 17755: (followup) Rename ::Library::Limit for ::Limit::Library It makes sense to rename it, as there might be other limits defined, not just library-wise. --- Koha/Object/{Library/Limit.pm => Limit/Library.pm} | 6 +++--- Koha/Patron/Attribute/Type.pm | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename Koha/Object/{Library/Limit.pm => Limit/Library.pm} (95%) diff --git a/Koha/Object/Library/Limit.pm b/Koha/Object/Limit/Library.pm similarity index 95% rename from Koha/Object/Library/Limit.pm rename to Koha/Object/Limit/Library.pm index 7c5cc37..678782b 100644 --- a/Koha/Object/Library/Limit.pm +++ b/Koha/Object/Limit/Library.pm @@ -1,4 +1,4 @@ -package Koha::Object::Library::Limit; +package Koha::Object::Limit::Library; # This file is part of Koha. # @@ -24,11 +24,11 @@ use Try::Tiny; =head1 NAME -Koha::Object::Library::Limit - Generic library limit handling class +Koha::Object::Limit::Library - Generic library limit handling class =head1 SYNOPSIS - use base qw(Koha::Object Koha::Object::Library::Limit); + use base qw(Koha::Object Koha::Object::Limit::Library); my $object = Koha::Object->new({ property1 => $property1, property2 => $property2, etc... } ); =head1 DESCRIPTION diff --git a/Koha/Patron/Attribute/Type.pm b/Koha/Patron/Attribute/Type.pm index 999c459..aba093e 100644 --- a/Koha/Patron/Attribute/Type.pm +++ b/Koha/Patron/Attribute/Type.pm @@ -19,7 +19,7 @@ use Modern::Perl; use Koha::Database; -use base qw(Koha::Object Koha::Object::Library::Limit); +use base qw(Koha::Object Koha::Object::Limit::Library); =head1 NAME -- 2.7.4