@@ -, +, @@ --- installer/data/mysql/atomicupdate/bug_26176.pl | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) --- a/installer/data/mysql/atomicupdate/bug_26176.pl +++ a/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'" - ); + ); }, }; --