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>
(cherry picked from commit ebd4aa6827)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
b16e2059a9
commit
09304fe33f
|
|
@ -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'"
|
||||
);
|
||||
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue