Bugzilla – Attachment 176645 Details for
Bug 35152
Convert RoutingListNote system preference to additional contents
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35152: Display 'syspref removed' success only if removed
Bug-35152-Display-syspref-removed-success-only-if-.patch (text/plain), 1.26 KB, created by
Jonathan Druart
on 2025-01-16 11:56:22 UTC
(
hide
)
Description:
Bug 35152: Display 'syspref removed' success only if removed
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-01-16 11:56:22 UTC
Size:
1.26 KB
patch
obsolete
>From 04c0e2c552facc1259880e9e4a3e0601154b9655 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 16 Jan 2025 12:55:40 +0100 >Subject: [PATCH] Bug 35152: Display 'syspref removed' success only if removed > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../bug-35152-move-RoutingListNote-to-additional-contents.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug-35152-move-RoutingListNote-to-additional-contents.pl b/installer/data/mysql/atomicupdate/bug-35152-move-RoutingListNote-to-additional-contents.pl >index 81fe4142839..a4820333e79 100755 >--- a/installer/data/mysql/atomicupdate/bug-35152-move-RoutingListNote-to-additional-contents.pl >+++ b/installer/data/mysql/atomicupdate/bug-35152-move-RoutingListNote-to-additional-contents.pl >@@ -34,8 +34,8 @@ return { > } > > # Remove old system preference >- $dbh->do("DELETE FROM systempreferences WHERE variable='RoutingListNote'"); >- say $out "Removed system preference 'RoutingListNote'"; >+ $dbh->do("DELETE FROM systempreferences WHERE variable='RoutingListNote'") == 1 >+ && say $out "Removed system preference 'RoutingListNote'"; > > }, > }; >-- >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 35152
:
158747
|
159718
|
167241
|
168011
|
170713
|
171030
|
176460
|
176644
| 176645