bug 6328: updatedatabase bump
[koha.git] / installer / data / mysql / atomicupdate / 0005-Add_CAS_Configuration.pl
1 #! /usr/bin/perl
2 use strict;
3 use warnings;
4 use C4::Context;
5 my $dbh=C4::Context->dbh;
6
7 $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')");
8 print "Upgrade done (added CAS authentication system preferences)\n";