[Koha-patches] [PATCH] bug 2504: switch version number in HEAD to 3.1
Galen Charlton
galen.charlton at liblime.com
Mon Aug 11 23:09:29 CEST 2008
---
installer/data/mysql/updatedatabase.pl | 6 ++++++
kohaversion.pl | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl
index 59ef43c..042a80b 100755
--- a/installer/data/mysql/updatedatabase.pl
+++ b/installer/data/mysql/updatedatabase.pl
@@ -1961,6 +1961,12 @@ END_SQL
SetVersion ($DBversion);
}
+$DBversion = '3.01.00.000';
+if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
+ print "Upgrade to $DBversion done (start of 3.1)\n";
+ SetVersion ($DBversion);
+}
+
=item DropAllForeignKeys($table)
Drop all foreign keys of the table $table
diff --git a/kohaversion.pl b/kohaversion.pl
index 582aa2c..a0404b2 100644
--- a/kohaversion.pl
+++ b/kohaversion.pl
@@ -10,7 +10,7 @@
use strict;
sub kohaversion {
- our $VERSION = '3.00.00.107';
+ our $VERSION = '3.01.00.000';
# version needs to be set this way
# so that it can be picked up by Makefile.PL
# during install
--
1.5.5.GIT
More information about the Koha-patches
mailing list