Bugzilla – Attachment 58167 Details for
Bug 17755
Introduce Koha::Patron::Attribute::Type(s)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17755: (followup) Rename ::Library::Limit for ::Limit::Library
Bug-17755-followup-Rename-LibraryLimit-for-LimitLi.patch (text/plain), 1.77 KB, created by
Tomás Cohen Arazi (tcohen)
on 2016-12-13 20:04:36 UTC
(
hide
)
Description:
Bug 17755: (followup) Rename ::Library::Limit for ::Limit::Library
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2016-12-13 20:04:36 UTC
Size:
1.77 KB
patch
obsolete
>From 61eaa429bb5a01cda7d8794df8999664a888675b Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17755
:
58142
|
58143
|
58144
|
58145
|
58167
|
58495
|
58496
|
58497
|
58498
|
59354
|
60989
|
60990
|
60991
|
60992
|
60995
|
61000
|
61001
|
61548
|
61549
|
61550
|
61551
|
61552