Bugzilla – Attachment 167253 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.62 KB, created by
David Nind
on 2024-05-30 01:54:34 UTC
(
hide
)
Description:
Bug 36986: (Bug 26176 follow-up) Fix rename StaffLoginBranchBasedOnIP in BDRev
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-05-30 01:54:34 UTC
Size:
1.62 KB
patch
obsolete
>From b0b0354375b76d00b20849b0d947eb3c806e7d83 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> >--- > 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 562d6bc086..f029fafc21 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.39.2
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