Signed-off-by: Galen Charlton <[email protected]>
---
 installer/data/mysql/updatedatabase.pl |   14 +++++++-------
 kohaversion.pl                         |    2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/installer/data/mysql/updatedatabase.pl 
b/installer/data/mysql/updatedatabase.pl
index 9afd979..6b7a49e 100755
--- a/installer/data/mysql/updatedatabase.pl
+++ b/installer/data/mysql/updatedatabase.pl
@@ -2581,13 +2581,13 @@ if (C4::Context->preference("Version") < 
TransformToNum($DBversion)) {
     print "Upgrade to $DBversion done (bug 1934: Add OPACSearchForTitleIn 
syspref)\n";
 }
 
-$DBversion = '3.01.00.XXX';
-     if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
-     $dbh->do("UPDATE systempreferences SET explanation='Fine limit above 
which user cannot renew books via OPAC' WHERE variable='OPACFineNoRenewals';");
-     $dbh->do("UPDATE systempreferences SET explanation='If set to ON, a clear 
screen button will appear on the circulation page.' WHERE 
variable='DisplayClearScreenButton';");
-     SetVersion ($DBversion);
-     print "Upgrade to $DBversion done (fixed typos in new sysprefs)\n";
-     }
+$DBversion = '3.01.00.051';
+if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
+    $dbh->do("UPDATE systempreferences SET explanation='Fine limit above which 
user cannot renew books via OPAC' WHERE variable='OPACFineNoRenewals';");
+    $dbh->do("UPDATE systempreferences SET explanation='If set to ON, a clear 
screen button will appear on the circulation page.' WHERE 
variable='DisplayClearScreenButton';");
+    SetVersion ($DBversion);
+    print "Upgrade to $DBversion done (fixed typos in new sysprefs)\n";
+}
 
 =item DropAllForeignKeys($table)
 
diff --git a/kohaversion.pl b/kohaversion.pl
index e9a5230..91e55af 100644
--- a/kohaversion.pl
+++ b/kohaversion.pl
@@ -10,7 +10,7 @@
 use strict;
 
 sub kohaversion {
-    our $VERSION = '3.01.00.050';
+    our $VERSION = '3.01.00.051';
     # version needs to be set this way
     # so that it can be picked up by Makefile.PL
     # during install
-- 
1.6.3.3

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to