# - #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;
+++ /dev/null
-INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
-('NoIssuesChargeGuarantees','','','Define maximum amount withstanding before check outs are blocked','Integer');
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