diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 5ca29e31bf..6d4bc4c484 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -8368,8 +8368,8 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } -$DBversion = "3.15.00.XXX"; -if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { +$DBversion = "3.15.00.045"; +if ( CheckVersion($DBversion) ) { $dbh->do(" INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ( @@ -8385,7 +8385,6 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { SetVersion ($DBversion); } - =head1 FUNCTIONS =head2 TableExists($table) diff --git a/kohaversion.pl b/kohaversion.pl index 0069731f34..6050f2f8b3 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts : use strict; sub kohaversion { - our $VERSION = '3.15.00.044'; + our $VERSION = '3.15.00.045'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install