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>
This commit is contained in:
parent
7e246f0975
commit
ebd4aa6827
|
|
@ -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