Bugzilla – Attachment 167114 Details for
Bug 26176
AutoLocation is badly named
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26176: (follow-up) Use suggested patturn in update
Bug-26176-follow-up-Use-suggested-patturn-in-updat.patch (text/plain), 1.46 KB, created by
Martin Renvoize (ashimema)
on 2024-05-23 14:34:43 UTC
(
hide
)
Description:
Bug 26176: (follow-up) Use suggested patturn in update
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-05-23 14:34:43 UTC
Size:
1.46 KB
patch
obsolete
>From 4106f2b240977c68c74743c72c5df3d9a9176b5c Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 23 May 2024 13:49:16 +0100 >Subject: [PATCH] Bug 26176: (follow-up) Use suggested patturn in update > >--- > installer/data/mysql/atomicupdate/bug_26176.pl | 12 +++++------- > 1 file changed, 5 insertions(+), 7 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_26176.pl b/installer/data/mysql/atomicupdate/bug_26176.pl >index cc7fb4e5a7b..305e07e200f 100755 >--- a/installer/data/mysql/atomicupdate/bug_26176.pl >+++ b/installer/data/mysql/atomicupdate/bug_26176.pl >@@ -13,21 +13,19 @@ return { > UPDATE systempreferences SET variable = "StaffLoginRestrictLibraryByIP" > WHERE variable = "AutoLocation" > } >- ); >- >- say_success( $out, "Renamed system preference 'AutoLocation' to 'StaffLoginRestrictLibraryByIP'" ); >+ ) == 1 >+ && say_success( $out, "Renamed system preference 'AutoLocation' to 'StaffLoginRestrictLibraryByIP'" ); > > $dbh->do( > q{ > UPDATE systempreferences SET variable = "StaffLoginRestrictLibraryByIP" > WHERE variable = "StaffLoginLibraryBasedOnIP" > } >- ); >- >- say_success( >+ ) == 1 >+ && say_success( > $out, > "Renamed system preference 'StaffLoginLibraryBasedOnIP' to 'StaffLoginRestrictLibraryByIP'" >- ); >+ ); > > }, > }; >-- >2.45.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 26176
:
166975
|
166976
|
167019
|
167020
|
167072
|
167091
|
167092
|
167093
|
167094
|
167095
|
167096
| 167114 |
167162