SetVersion($DBversion);
}
-$DBversion = "3.17.00.XXX";
+$DBversion = "3.17.00.036";
if ( CheckVersion($DBversion) ) {
$dbh->do("DELETE FROM systempreferences WHERE variable='OpacShowLibrariesPulldownMobile'");
print "Upgrade to $DBversion done ( Bug 12513 - PROG/CCSR deprecation: Remove OpacShowLibrariesPulldownMobile system preference )\n";
SetVersion ($DBversion);
}
-$DBversion = "3.17.00.XXX";
+$DBversion = "3.17.00.037";
if ( CheckVersion($DBversion) ) {
$dbh->do("DELETE FROM systempreferences WHERE variable='OpacMainUserBlockMobile'");
print "Upgrade to $DBversion done ( Bug 12246 - PROG/CCSR deprecation: Remove OpacMainUserBlockMobile system preference )\n";
SetVersion ($DBversion);
}
-$DBversion = "3.17.00.XXX";
+$DBversion = "3.17.00.038";
if ( CheckVersion($DBversion) ) {
$dbh->do("DELETE FROM systempreferences WHERE variable='OPACMobileUserCSS'");
print "Upgrade to $DBversion done ( Bug 12245 - PROG/CCSR deprecation: Remove OPACMobileUserCSS system preference )\n";
SetVersion ($DBversion);
}
-$DBversion = "3.17.00.XXX";
+$DBversion = "3.17.00.039";
if ( CheckVersion($DBversion) ) {
$dbh->do("INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES
('OPACFallback', 'prog', 'bootstrap|prog', 'Define the fallback theme for the OPAC interface.', 'Themes')");
print "Upgrade to $DBversion done (Bug 12539 - PROG/CCSR deprecation: Remove hardcoded theme from C4/Templates.pm)\n";
SetVersion ($DBversion);
+}
-$DBversion = "3.17.00.XXX";
+$DBversion = "3.17.00.040";
if ( CheckVersion($DBversion) ) {
my $opac_theme = C4::Context->preference( 'opacthemes' );
if ( $opac_theme eq 'prog' || $opac_theme eq 'ccsr' ) {
SetVersion($DBversion);
}
+$DBversion = "3.17.00.041";
+if ( CheckVersion($DBversion) ) {
+ print "Upgrade to $DBversion done (Bug 11346: Deprecate the 'prog' and 'CCSR' themes)\n";
+ SetVersion($DBversion);
+}
+
=head1 FUNCTIONS
=head2 TableExists($table)