Bugzilla – Attachment 151875 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), 901 bytes, created by
Marcel de Rooy
on 2023-05-31 13:18:15 UTC
(
hide
)
Description:
Bug 33870: Make $MAX in Sitemapper::Writer global
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-05-31 13:18:15 UTC
Size:
901 bytes
patch
obsolete
>From ca21883472d5ff0bec8331226cf26623bd9559e6 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 >Content-Type: text/plain; charset=utf-8 > >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> >--- > 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