Bug 7981: DBRev 3.21.00.008

Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
This commit is contained in:
Tomas Cohen Arazi 2015-06-11 10:29:06 -03:00
parent 1f3e11c5bd
commit 4d417b9a2e
2 changed files with 5 additions and 4 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 = "3.21.00.007";
$VERSION = "3.21.00.008";
sub version {
return $VERSION;

View File

@ -10585,12 +10585,13 @@ if ( CheckVersion($DBversion) ) {
SetVersion ($DBversion);
}
$DBversion = "3.21.00.XXX";
$DBversion = "3.21.00.008";
if ( CheckVersion($DBversion) ) {
$dbh->do(q{
DELETE FROM systempreferences WHERE variable = 'HomeOrHoldingBranchReturn';
DELETE IGNORE FROM systempreferences
WHERE variable = 'HomeOrHoldingBranchReturn';
});
print "Upgrade to $DBversion done (Bug 7981 - Transfer message on return. HomeOrHoldingBranchReturn syspref removed in favour of circulation rules.)\n";
print "Upgrade to $DBversion done (Bug 7981: Transfer message on return. HomeOrHoldingBranchReturn syspref removed in favour of circulation rules.)\n";
SetVersion($DBversion);
}