Bug 17682: DBRev 17.11.01.002

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2018-01-23 02:24:28 +00:00
parent 7b4b8699a6
commit 84ab40c646
3 changed files with 10 additions and 2 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 = "17.11.01.001";
$VERSION = "17.11.01.002";
sub version {
return $VERSION;

View File

@ -1 +0,0 @@
UPDATE systempreferences set value = replace(value, "http://www.scholar", "https://scholar") where variable = 'OPACSearchForTitleIn';

View File

@ -15092,6 +15092,15 @@ if( CheckVersion( $DBversion ) ) {
print "Upgrade to $DBversion done (Bug 18915 - Correct CHECKOUT_NOTE notice template)\n";
}
$DBversion = '17.11.01.002';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q{
UPDATE systempreferences SET value=replace(value, "http://www.scholar", "https://scholar") WHERE variable='OPACSearchForTitleIn';
});
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 17682 - Update URL for Google Scholar in OPACSearchForTitleIn)\n";
}
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.