Bug 7088: DBRev 18.12.00.068

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2019-05-09 18:20:34 +00:00
parent a0bb818b0b
commit e17500f621
3 changed files with 11 additions and 3 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.067";
$VERSION = "18.12.00.068";
sub version {
return $VERSION;

View file

@ -1,2 +0,0 @@
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES
('AllowRenewalOnHoldOverride','0','','If on, allow items on hold to be renewed with a specified due date','YesNo');

View file

@ -18422,6 +18422,16 @@ if ( CheckVersion($DBversion) ) {
"Upgrade to $DBversion done (Bug 8000 - Add new preferences for SendAllEmailsTo)\n";
}
$DBversion = '18.12.00.068';
if ( CheckVersion($DBversion) ) {
$dbh->do(q{
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES
('AllowRenewalOnHoldOverride','0','','If on, allow items on hold to be renewed with a specified due date','YesNo');
});
SetVersion($DBversion);
print "Upgrade to $DBversion done (Bug 7088: Cannot renew items on hold even with override)\n";
}
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.