Bugzilla – Attachment 153453 Details for
Bug 33870
Remove T::D::C from Sitemapper.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33870: Make $MAX in Sitemapper::Writer global
Bug-33870-Make-MAX-in-SitemapperWriter-global.patch (text/plain), 920 bytes, created by
Pedro Amorim
on 2023-07-14 10:04:44 UTC
(
hide
)
Description:
Bug 33870: Make $MAX in Sitemapper::Writer global
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-07-14 10:04:44 UTC
Size:
920 bytes
patch
obsolete
>From ea28236c08ea840eca46f279703303c1543a9706 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Wed, 31 May 2023 07:00:13 +0000 >Subject: [PATCH] Bug 33870: Make $MAX in Sitemapper::Writer global > >This should preferably not be a lexical variable (in case we ever >should call this under Plack). A global variable will also simplify >testing (see next patch). > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> >--- > Koha/Sitemapper/Writer.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Sitemapper/Writer.pm b/Koha/Sitemapper/Writer.pm >index a397d62ee0..309c49db31 100644 >--- a/Koha/Sitemapper/Writer.pm >+++ b/Koha/Sitemapper/Writer.pm >@@ -26,7 +26,7 @@ use IO::File; > use Koha::DateUtils qw( dt_from_string ); > > >-my $MAX = 50000; >+our $MAX = 50000; > > > has sitemapper => (is => 'rw', ); >-- >2.30.2
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 33870
:
151875
|
151876
|
151877
|
153453
|
153454
|
153455
|
155094
|
155095
|
155096