Bug 15485: (QA followup) Fix behaviour and default values
[koha.git] / installer / data / mysql / atomicupdate / bug_15485_xslt_for_lists.sql
1 INSERT IGNORE INTO systempreferences ( variable, value, options, explanation,type )
2 VALUES ('OPACXSLTListsDisplay','','','Enable XSLT stylesheet control over lists pages display on OPAC','Free');
3 INSERT IGNORE INTO systempreferences ( variable, value, options, explanation,type )
4 VALUES ('XSLTListsDisplay','','','Enable XSLT stylesheet control over lists pages display on intranet','Free');
5
6 -- $DBversion = '16.06.00.XXX';
7 -- if ( CheckVersion($DBversion) ) {
8 --     $dbh->do(q{
9 --         INSERT IGNORE INTO systempreferences ( variable, value, options, explanation,type )
10 --         VALUES ('OPACXSLTListsDisplay','','','Enable XSLT stylesheet control over lists pages display on OPAC','Free')
11 --     });
12
13 --     $dbh->do(q{
14 --         INSERT IGNORE INTO systempreferences ( variable, value, options, explanation,type )
15 --         VALUES ('XSLTListsDisplay','','','Enable XSLT stylesheet control over lists pages display on intranet','Free')
16
17 --     });
18
19 --     print "Upgrade to $DBversion done (Bug 15485: Allow choosing different XSLTs for lists)\n";
20 --     SetVersion($DBversion);
21 -- }