Correct order of updatedatabase entries
This commit is contained in:
parent
835cb6e36b
commit
c2e0082af0
|
|
@ -6477,14 +6477,6 @@ if ( CheckVersion($DBversion) ) {
|
|||
SetVersion($DBversion);
|
||||
}
|
||||
|
||||
$DBversion = "3.11.00.030";
|
||||
if ( CheckVersion($DBversion) ) {
|
||||
$dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('FinesIncludeGracePeriod','1','If enabled, fines calculations will include the grace period.',NULL,'YesNo');");
|
||||
print "Upgrade to $DBversion done (Add system preference FinesIncludeGracePeriod)\n";
|
||||
SetVersion($DBversion);
|
||||
}
|
||||
|
||||
|
||||
$DBversion = "3.11.00.026";
|
||||
if ( CheckVersion($DBversion) ) {
|
||||
$dbh->do(qq{
|
||||
|
|
@ -6527,6 +6519,13 @@ if (CheckVersion($DBversion)) {
|
|||
SetVersion ($DBversion);
|
||||
}
|
||||
|
||||
$DBversion = "3.11.00.030";
|
||||
if ( CheckVersion($DBversion) ) {
|
||||
$dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('FinesIncludeGracePeriod','1','If enabled, fines calculations will include the grace period.',NULL,'YesNo');");
|
||||
print "Upgrade to $DBversion done (Add system preference FinesIncludeGracePeriod)\n";
|
||||
SetVersion($DBversion);
|
||||
}
|
||||
|
||||
|
||||
=head1 FUNCTIONS
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue