Bugzilla – Attachment 160541 Details for
Bug 33317
Add system preference to set meta robots for the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33317: (follow-up) Perltidy
Bug-33317-follow-up-Perltidy.patch (text/plain), 1.54 KB, created by
Owen Leonard
on 2024-01-04 15:21:01 UTC
(
hide
)
Description:
Bug 33317: (follow-up) Perltidy
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-01-04 15:21:01 UTC
Size:
1.54 KB
patch
obsolete
>From e03cedefd74f907e760ebdc952857e86115621e5 Mon Sep 17 00:00:00 2001 >From: Hammat Wele <hammat.wele@inlibro.com> >Date: Thu, 4 Jan 2024 13:28:10 +0000 >Subject: [PATCH] Bug 33317: (follow-up) Perltidy > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > installer/data/mysql/atomicupdate/bug_33317.pl | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) > mode change 100644 => 100755 installer/data/mysql/atomicupdate/bug_33317.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_33317.pl b/installer/data/mysql/atomicupdate/bug_33317.pl >old mode 100644 >new mode 100755 >index 58858e4e27..0df65e2e6e >--- a/installer/data/mysql/atomicupdate/bug_33317.pl >+++ b/installer/data/mysql/atomicupdate/bug_33317.pl >@@ -1,14 +1,16 @@ > use Modern::Perl; > > return { >- bug_number => "33317", >+ bug_number => "33317", > description => "Add new system preference OpacMetaRobots", >- up => sub { >+ up => sub { > my ($args) = @_; >- my ($dbh, $out) = @$args{qw(dbh out)}; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; > >- $dbh->do(q{INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('OpacMetaRobots','','','Improve search engine crawling.', 'Multiple') }); >+ $dbh->do( >+ q{INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('OpacMetaRobots','','','Improve search engine crawling.', 'Multiple') } >+ ); > > say $out "Added system preference 'OpacMetaRobots'"; > }, >-}; >\ No newline at end of file >+}; >-- >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 33317
:
148575
|
148593
|
150420
|
158820
|
159653
|
160125
|
160126
|
160534
|
160539
|
160540
|
160541
|
160544
|
160545
|
160546
|
168071
|
168072
|
168073
|
168074
|
168075