From 5cc7c1db9ac75d667c7e66dfc450991c10949078 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Fri, 22 Jan 2010 13:18:14 +0000 Subject: [PATCH] remove duplicate addition of casAutherntication preference --- installer/data/mysql/updatedatabase.pl | 7 ------- 1 file changed, 7 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 4512943693..35dee1fdbc 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -3291,13 +3291,6 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { SetVersion ($DBversion); } -$DBversion = "3.01.00.100"; -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); -} - $DBversion = "3.01.00.101"; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $dbh->do( -- 2.39.2