Bumping database version
authorChris Cormack <chrisc@catalyst.net.nz>
Thu, 14 Apr 2011 08:28:17 +0000 (20:28 +1200)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 14 Apr 2011 08:28:17 +0000 (20:28 +1200)
installer/data/mysql/updatedatabase.pl
kohaversion.pl

index 3baefc8..c43e9b6 100755 (executable)
@@ -4134,12 +4134,6 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
     print "Upgrade to $DBversion done ( include subdivisions when generating subject tracing searches )\n";
 }
 
-$DBversion = "3.03.00.XXX";
-if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
-    $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('WaitingNotifyAtCheckin',0,'If ON, notify librarians of waiting holds for the patron whose items they are checking in.',NULL,'YesNo');");
-    print "Upgrade to $DBversion done (Add syspref WaitingNotifyAtCheckin)\n";
-    SetVersion ($DBversion);
-}
 
 $DBversion = '3.03.00.033';
 if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
@@ -4310,6 +4304,14 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
     SetVersion ($DBversion);
 }
 
+$DBversion = "3.03.00.052";
+if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
+    $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('WaitingNotifyAtCheckin',0,'If ON, notify librarians of waiting holds for the patron whose items they are checking in.',NULL,'YesNo');");
+    print "Upgrade to $DBversion done (Add syspref WaitingNotifyAtCheckin)\n";
+    SetVersion ($DBversion);
+}
+
+
 =head1 FUNCTIONS
 
 =head2 DropAllForeignKeys($table)
index 8330459..af40670 100644 (file)
@@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts :
 use strict;
 
 sub kohaversion {
-    our $VERSION = '3.03.00.XXX';
+    our $VERSION = '3.03.00.052';
     # version needs to be set this way
     # so that it can be picked up by Makefile.PL
     # during install