Bugzilla – Attachment 185123 Details for
Bug 35467
NewsLog should be renamed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35467: atomicupdate to change NewsLog to AdditionalContentLog
Bug-35467-atomicupdate-to-change-NewsLog-to-Additi.patch (text/plain), 1.36 KB, created by
Owen Leonard
on 2025-08-05 14:22:34 UTC
(
hide
)
Description:
Bug 35467: atomicupdate to change NewsLog to AdditionalContentLog
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-08-05 14:22:34 UTC
Size:
1.36 KB
patch
obsolete
>From f3230a18921fabe16d84a9ad537b99e98888515c Mon Sep 17 00:00:00 2001 >From: Andrew Fuerste Henry <andrew@bywatersolutions.com> >Date: Tue, 5 Aug 2025 13:39:05 +0000 >Subject: [PATCH] Bug 35467: atomicupdate to change NewsLog to > AdditionalContentLog > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../bug_35467_AdditionalContentLog.pl | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_35467_AdditionalContentLog.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_35467_AdditionalContentLog.pl b/installer/data/mysql/atomicupdate/bug_35467_AdditionalContentLog.pl >new file mode 100644 >index 00000000000..2e033bbfc8f >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_35467_AdditionalContentLog.pl >@@ -0,0 +1,18 @@ >+use Modern::Perl; >+use Koha::Installer::Output qw(say_warning say_success say_info); >+ >+return { >+ bug_number => "35467", >+ description => "Rename NewsLog to AdditionalContentLog", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ >+ # Do you stuffs here >+ $dbh->do(q{UPDATE systempreferences SET variable = 'AdditionalContentLog' WHERE variable = 'NewsLog'}); >+ >+ # Other information >+ say_success( $out, "Updated system preference 'NewsLog' to 'AdditionalContentLog'" ); >+ >+ }, >+}; >-- >2.39.5
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 35467
:
185119
|
185120
|
185122
|
185123
|
185127
|
185128
|
185129
|
185130
|
185131
|
185132