Bug 14577 - DBRev 3.23.00.056

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Kyle M Hall 2016-04-29 11:58:29 +00:00
parent 6c4415a873
commit df5b1b70aa
3 changed files with 12 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 = "3.23.00.055";
$VERSION = "3.23.00.056";
sub version {
return $VERSION;

View File

@ -1,2 +0,0 @@
INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
('NoIssuesChargeGuarantees','','','Define maximum amount withstanding before check outs are blocked','Integer');

View File

@ -12471,6 +12471,17 @@ if ( CheckVersion($DBversion) ) {
SetVersion($DBversion);
}
$DBversion = "3.23.00.056";
if ( CheckVersion($DBversion) ) {
$dbh->do(q{
INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
('NoIssuesChargeGuarantees','','','Define maximum amount withstanding before check outs are blocked','Integer');
});
print "Upgrade to $DBversion done (Bug 14577 - Allow restriction of checkouts based on fines of guarantor/guarantee)\n";
SetVersion($DBversion);
}
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
# SEE bug 13068