Lines 8922-8928
if ( CheckVersion($DBversion) ) {
Link Here
|
8922 |
$DBversion = "3.17.00.040"; |
8922 |
$DBversion = "3.17.00.040"; |
8923 |
if ( CheckVersion($DBversion) ) { |
8923 |
if ( CheckVersion($DBversion) ) { |
8924 |
my $opac_theme = C4::Context->preference( 'opacthemes' ); |
8924 |
my $opac_theme = C4::Context->preference( 'opacthemes' ); |
8925 |
if ( $opac_theme eq 'prog' || $opac_theme eq 'ccsr' ) { |
8925 |
if ( !defined $opac_theme || $opac_theme eq 'prog' || $opac_theme eq 'ccsr' ) { |
8926 |
$dbh->do("UPDATE systempreferences SET value='bootstrap' WHERE variable='opacthemes'"); |
8926 |
$dbh->do("UPDATE systempreferences SET value='bootstrap' WHERE variable='opacthemes'"); |
8927 |
} |
8927 |
} |
8928 |
print "Upgrade to $DBversion done (Bug 12223: 'prog' and 'ccsr' themes removed)\n"; |
8928 |
print "Upgrade to $DBversion done (Bug 12223: 'prog' and 'ccsr' themes removed)\n"; |
8929 |
- |
|
|