Bug 22695: DBRev 18.12.00.046

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2019-04-16 12:12:11 +00:00
parent 6a58da7da2
commit a131ffca08
3 changed files with 8 additions and 7 deletions

View file

@ -29,7 +29,7 @@ use vars qw{ $VERSION };
# - #4 : the developer version. The 4th number is the database subversion.
# used by developers when the database changes. updatedatabase take care of the changes itself
# and is automatically called by Auth.pm when needed.
$VERSION = "18.12.00.045";
$VERSION = "18.12.00.046";
sub version {
return $VERSION;

View file

@ -1,6 +0,0 @@
$DBversion = 'XXX'; # will be replaced by the RM
if( CheckVersion( $DBversion ) ) {
$dbh->do( "UPDATE systempreferences SET value = 'default' WHERE variable = 'XSLTResultsDisplay' AND value = ''" );
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 22695 - Remove non-XSLT search results view from the staff client)\n";
}

View file

@ -18005,6 +18005,13 @@ if( CheckVersion( $DBversion ) ) {
print "Upgrade to $DBversion done (Bug 10796 - Patron password change by category)\n";
}
$DBversion = '18.12.00.046';
if( CheckVersion( $DBversion ) ) {
$dbh->do( "UPDATE systempreferences SET value = 'default' WHERE variable = 'XSLTResultsDisplay' AND value = ''" );
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 22695 - Remove non-XSLT search results view from the staff client)\n";
}
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.