Bug 6739: DBRev 3.15.00.045
authorGalen Charlton <gmc@esilibrary.com>
Mon, 5 May 2014 01:57:34 +0000 (01:57 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 5 May 2014 01:57:34 +0000 (01:57 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
installer/data/mysql/updatedatabase.pl
kohaversion.pl

index 5ca29e3..6d4bc4c 100755 (executable)
@@ -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)
index 0069731..6050f2f 100644 (file)
@@ -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