Bug 12448: DBRev 3.17.00.048
authorTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 7 Nov 2014 14:37:27 +0000 (11:37 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 7 Nov 2014 14:44:57 +0000 (11:44 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
installer/data/mysql/updatedatabase.pl
kohaversion.pl

index 037c2e7..4c19eae 100755 (executable)
@@ -8953,7 +8953,7 @@ if ( CheckVersion($DBversion) ) {
 }
 
 $DBversion = "3.17.00.044";
-if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
+if ( CheckVersion($DBversion) ) {
     $dbh->do(q{
         INSERT IGNORE INTO systempreferences
             (variable,value,explanation,options,type)
@@ -9017,9 +9017,7 @@ if ( CheckVersion($DBversion) ) {
     SetVersion($DBversion);
 }
 
-
-
-$DBversion = "XXX";
+$DBversion = "3.17.00.048";
 if ( CheckVersion($DBversion) ) {
     $dbh->do(q|
         INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('RentalFeesCheckoutConfirmation', '0', NULL , 'Allow user to confirm when checking out an item with rental fees.', 'YesNo')
index a0cb939..6ce9d06 100644 (file)
@@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts :
 use strict;
 
 sub kohaversion {
-    our $VERSION = '3.17.00.047';
+    our $VERSION = '3.17.00.048';
     # version needs to be set this way
     # so that it can be picked up by Makefile.PL
     # during install