Bugzilla – Attachment 123942 Details for
Bug 28872
AcquisitionLog, NewsLog, NoticesLog should use 1/0 for their values
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28872: Fix QA issues on atomicupdate
Bug-28872-Fix-QA-issues-on-atomicupdate.patch (text/plain), 1.49 KB, created by
Jonathan Druart
on 2021-08-18 12:17:20 UTC
(
hide
)
Description:
Bug 28872: Fix QA issues on atomicupdate
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-08-18 12:17:20 UTC
Size:
1.49 KB
patch
obsolete
>From 7438449a8c107556c06ac5c5880ef17c7e6b61ef Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 18 Aug 2021 13:03:09 +0200 >Subject: [PATCH] Bug 28872: Fix QA issues on atomicupdate > >--- > .../mysql/atomicupdate/bug_28872_update_log_values.pl | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) > mode change 100644 => 100755 installer/data/mysql/atomicupdate/bug_28872_update_log_values.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_28872_update_log_values.pl b/installer/data/mysql/atomicupdate/bug_28872_update_log_values.pl >old mode 100644 >new mode 100755 >index 4ee8b75e3e4..770c5ce7ca9 >--- a/installer/data/mysql/atomicupdate/bug_28872_update_log_values.pl >+++ b/installer/data/mysql/atomicupdate/bug_28872_update_log_values.pl >@@ -1,16 +1,12 @@ > use Modern::Perl; > >-{ >+return { > bug_number => "28872", >- description => "update values from on and off to 1 and 0", >+ description => "Update syspref values from on and off to 1 and 0", > up => sub { > my ($args) = @_; > my ($dbh, $out) = @$args{qw(dbh out)}; >- # Do you stuffs here > $dbh->do(q{update systempreferences set value=1 where variable in ('AcquisitionLog', 'NewsLog', 'NoticesLog') and value='on'}); > $dbh->do(q{update systempreferences set value=0 where variable in ('AcquisitionLog', 'NewsLog', 'NoticesLog') and value='off'}); >- >- # Print useful stuff here >- say $out "Update is going well so far"; > }, > } >-- >2.25.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 28872
:
123880
|
123911
|
123921
|
123940
|
123941
|
123942
|
123956
|
123957
|
123958