Bugzilla – Attachment 99498 Details for
Bug 22880
Convert opacheader system preference to news block
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22880: (QA follow-up) Replace use by require
Bug-22880-QA-follow-up-Replace-use-by-require.patch (text/plain), 1.25 KB, created by
Marcel de Rooy
on 2020-02-24 12:17:04 UTC
(
hide
)
Description:
Bug 22880: (QA follow-up) Replace use by require
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2020-02-24 12:17:04 UTC
Size:
1.25 KB
patch
obsolete
>From 4ad661a0ae0189ff277b21b4199bcf8c57037ae0 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 24 Feb 2020 12:12:58 +0000 >Subject: [PATCH] Bug 22880: (QA follow-up) Replace use by require >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../data/mysql/atomicupdate/bug_22880-move-opacheader-to-news.perl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_22880-move-opacheader-to-news.perl b/installer/data/mysql/atomicupdate/bug_22880-move-opacheader-to-news.perl >index 86888b8dcc..9c6df3cc0d 100644 >--- a/installer/data/mysql/atomicupdate/bug_22880-move-opacheader-to-news.perl >+++ b/installer/data/mysql/atomicupdate/bug_22880-move-opacheader-to-news.perl >@@ -2,9 +2,9 @@ $DBversion = 'XXX'; # will be replaced by the RM > if( CheckVersion( $DBversion ) ) { > > # get list of installed translations >- use C4::Languages qw(getTranslatedLanguages); >+ require C4::Languages; > my @langs; >- my $tlangs = getTranslatedLanguages(); >+ my $tlangs = C4::Languages::getTranslatedLanguages(); > > foreach my $language ( @$tlangs ) { > foreach my $sublanguage ( @{$language->{'sublanguages_loop'}} ) { >-- >2.11.0
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 22880
:
89517
|
90495
|
92207
|
92208
|
92592
|
92593
|
92594
|
92600
|
92601
|
92602
|
96209
|
96210
|
96219
|
98773
|
98775
|
98985
|
98986
|
98987
|
98988
|
98989
|
99362
|
99363
|
99364
|
99365
|
99366
|
99367
|
99490
|
99491
|
99492
|
99493
|
99494
|
99495
|
99496
|
99497
| 99498