Bugzilla – Attachment 160534 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.45 KB, created by
Hammat wele
on 2024-01-04 13:28:46 UTC
(
hide
)
Description:
Bug 33317: (follow-up) Perltidy
Filename:
MIME Type:
Creator:
Hammat wele
Created:
2024-01-04 13:28:46 UTC
Size:
1.45 KB
patch
obsolete
>From e6b30d7b2c40eb5ca5bde468b96ec2f166be7f4b 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 > >--- > installer/data/mysql/atomicupdate/bug_33317.pl | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 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..4ea2cb4975 >--- a/installer/data/mysql/atomicupdate/bug_33317.pl >+++ b/installer/data/mysql/atomicupdate/bug_33317.pl >@@ -1,13 +1,15 @@ > 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'"; > }, >-- >2.34.1
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