From 37feb640af690092a2c35f1e38a3e37c2d9ae0c3 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Thu, 26 Nov 2009 17:13:08 +0100 Subject: [PATCH] fixing version update --- installer/data/mysql/updatedatabase.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 3d4ecadd42..dab64dd24e 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -3209,7 +3209,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { =cut -my $DBversion = "3.01.00.0122"; +$DBversion = "3.01.00.0122"; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { # update branches table # @@ -3307,7 +3307,9 @@ $DBversion = "3.01.00.130"; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $dbh->do("INSERT INTO `systempreferences` (`variable`, `value`, `options`, `explanation`, `type`) VALUES ('casAuthentication', '1', '', 'Enable or disable CAS authentication', 'YesNo'), ('casLogout', '1', '', 'Does a logout from Koha should also log out of CAS ?', 'YesNo'), ('casServerUrl', 'https://localhost:8443/cas', '', 'URL of the cas server', 'Free')"); print "Upgrade done (added CAS authentication system preferences)\n"; + SetVersion ($DBversion); } + =item DropAllForeignKeys($table) Drop all foreign keys of the table $table -- 2.39.5