Bug 7688: DBRev 3.13.00.033
authorGalen Charlton <gmc@esilibrary.com>
Tue, 29 Oct 2013 23:57:44 +0000 (23:57 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 30 Oct 2013 00:39:11 +0000 (00:39 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
installer/data/mysql/updatedatabase.pl
kohaversion.pl

index 6289520..b6aba4a 100755 (executable)
@@ -7330,8 +7330,8 @@ if ( CheckVersion($DBversion) ) {
     SetVersion($DBversion);
 }
 
-$DBversion = "XXX";
-if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
+$DBversion = "3.13.00.033";
+if ( CheckVersion($DBversion) ) {
     $dbh->do(qq|
         DROP TABLE IF EXISTS subscription_frequencies
     |);
@@ -7579,7 +7579,7 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
         }
     }
 
-    print "Upgrade to $DBversion done (Add subscription_frequencies and subscription_numberpatterns tables)\n";
+    print "Upgrade to $DBversion done (Bug 7688: add subscription_frequencies and subscription_numberpatterns tables)\n";
     SetVersion($DBversion);
 }
 
index 3cd9896..b47851a 100644 (file)
@@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts :
 use strict;
 
 sub kohaversion {
-    our $VERSION = '3.13.00.032';
+    our $VERSION = '3.13.00.033';
     # version needs to be set this way
     # so that it can be picked up by Makefile.PL
     # during install