# - #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 = "19.12.00.023";
+$VERSION = "19.12.00.024";
sub version {
return $VERSION;
+++ /dev/null
-$DBversion = 'XXX';
-if( CheckVersion( $DBversion ) ) {
- $dbh->do(q{
- UPDATE systempreferences SET value = 'off'
- WHERE variable = 'finesMode' AND (value <> 'production' OR value IS NULL)
- });
- $dbh->do(q{
- UPDATE systempreferences SET options = 'off|production',
- explanation = "Choose the fines mode, 'off' (do not accrue fines) or 'production' (accrue overdue fines). Requires accruefines cronjob or CalculateFinesOnReturn system preference."
- WHERE variable = 'finesMode'
- });
- SetVersion( $DBversion );
- print "Upgrade to $DBversion done (Bug 21633 - Remove finesMode 'test')\n";
-}
print "Upgrade to $DBversion done (Bug 24640 - Allow quotes.timestamp to be NULL)\n";
}
+$DBversion = '19.12.00.024';
+if( CheckVersion( $DBversion ) ) {
+ $dbh->do(q{
+ UPDATE systempreferences SET value = 'off'
+ WHERE variable = 'finesMode' AND (value <> 'production' OR value IS NULL)
+ });
+ $dbh->do(q{
+ UPDATE systempreferences SET options = 'off|production',
+ explanation = "Choose the fines mode, 'off' (do not accrue fines) or 'production' (accrue overdue fines). Requires accruefines cronjob or CalculateFinesOnReturn system preference."
+ WHERE variable = 'finesMode'
+ });
+ SetVersion( $DBversion );
+ print "Upgrade to $DBversion done (Bug 21633 - Remove finesMode 'test')\n";
+}
+
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.
my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';