X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=installer%2Fdata%2Fmysql%2Fupdatedatabase.pl;h=99cbec3af89d1c1fe4b16bf54464189b336ef2a6;hb=493dcede4891be13e2742b2169b5579d71ad0d40;hp=21083651749324a1ed0a10b2e4f184463cef8521;hpb=c644598a04074bc5cadc7b50396533f17351ad12;p=koha_fer diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 2108365174..99cbec3af8 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -6428,6 +6428,15 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } +$DBversion = "XXX"; +if ( CheckVersion($DBversion) ) { + $dbh->do( +"INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('Persona',0,'Use Mozilla Persona for login','','YesNo')" + ); + print "Upgrade to $DBversion done (Bug 9587 - Allow login via Persona)\n"; + SetVersion($DBversion); +} + =head1 FUNCTIONS