From: Paul Poulain <[email protected]>
ON by default will confuse most libraries, and it won't work as the CAS server
won't be defined
---
installer/data/mysql/updatedatabase.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/installer/data/mysql/updatedatabase.pl
b/installer/data/mysql/updatedatabase.pl
index dab64dd..e738021 100755
--- a/installer/data/mysql/updatedatabase.pl
+++ b/installer/data/mysql/updatedatabase.pl
@@ -3305,7 +3305,7 @@ if (C4::Context->preference("Version") <
TransformToNum($DBversion)) {
$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')");
+ $dbh->do("INSERT INTO `systempreferences` (`variable`, `value`,
`options`, `explanation`, `type`) VALUES ('casAuthentication', '0', '', '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);
}
--
1.6.3.3
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches