Bugzilla – Attachment 167371 Details for
Bug 36986
(Bug 26176 follow-up) Fix rename StaffLoginBranchBasedOnIP in DBRev
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36986: (Bug 26176 follow-up) Fix rename StaffLoginBranchBasedOnIP in BDRev
Bug-36986-Bug-26176-follow-up-Fix-rename-StaffLogi.patch (text/plain), 1.75 KB, created by
Martin Renvoize (ashimema)
on 2024-06-04 10:17:34 UTC
(
hide
)
Description:
Bug 36986: (Bug 26176 follow-up) Fix rename StaffLoginBranchBasedOnIP in BDRev
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-06-04 10:17:34 UTC
Size:
1.75 KB
patch
obsolete
>From 403e76364754c341e12d21f4be4273c480d67b59 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 29 May 2024 17:29:21 +0200 >Subject: [PATCH] Bug 36986: (Bug 26176 follow-up) Fix rename > StaffLoginBranchBasedOnIP in BDRev > >Test by running upgrade from 23.11.00 to main >Check you see : >Upgrade to 23.12.00.061 [15:34:36]: Bug 26176 - Rename AutoLocation and StaffLoginBranchBasedOnIP system preferences > Renamed system preference 'AutoLocation' to 'StaffLoginRestrictLibraryByIP' > Renamed system preference 'StaffLoginBranchBasedOnIP' to 'StaffLoginLibraryBasedOnIP' > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > installer/data/mysql/db_revs/231200061.pl | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/installer/data/mysql/db_revs/231200061.pl b/installer/data/mysql/db_revs/231200061.pl >index 562d6bc086e..f029fafc216 100755 >--- a/installer/data/mysql/db_revs/231200061.pl >+++ b/installer/data/mysql/db_revs/231200061.pl >@@ -18,13 +18,13 @@ return { > > $dbh->do( > q{ >- UPDATE systempreferences SET variable = "StaffLoginRestrictLibraryByIP" >- WHERE variable = "StaffLoginLibraryBasedOnIP" >+ UPDATE systempreferences SET variable = "StaffLoginLibraryBasedOnIP" >+ WHERE variable = "StaffLoginBranchBasedOnIP" > } > ) == 1 > && say_success( > $out, >- "Renamed system preference 'StaffLoginLibraryBasedOnIP' to 'StaffLoginRestrictLibraryByIP'" >+ "Renamed system preference 'StaffLoginBranchBasedOnIP' to 'StaffLoginLibraryBasedOnIP'" > ); > > }, >-- >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 36986
:
167247
|
167253
|
167286
| 167371 |
167372