View | Details | Raw Unified | Return to bug 16371
Collapse All | Expand All

(-)a/installer/data/mysql/updatedatabase.pl (-3 / +4 lines)
Lines 22576-22590 if( CheckVersion( $DBversion ) ) { Link Here
22576
$DBversion = '20.06.00.023';
22576
$DBversion = '20.06.00.023';
22577
if( CheckVersion( $DBversion ) ) {
22577
if( CheckVersion( $DBversion ) ) {
22578
22578
22579
    my $QuoteOfTheDay = C4::Context->preference('QuoteOfTheDay');
22579
    $dbh->do( q|
22580
    $dbh->do( q|
22580
        UPDATE systempreferences
22581
        UPDATE systempreferences
22581
        SET value = '',
22582
        SET options = 'intranet,opac',
22582
            options = 'intranet,opac',
22583
            explanation = 'Enable or disable display of Quote of the Day on the OPAC and staff interface home page',
22583
            explanation = 'Enable or disable display of Quote of the Day on the OPAC and staff interface home page',
22584
            type = 'multiple'
22584
            type = 'multiple'
22585
        WHERE variable = 'QuoteOfTheDay'
22585
        WHERE variable = 'QuoteOfTheDay'
22586
    | );
22586
    | );
22587
22587
22588
    C4::Context->set_preference('QuoteOfTheDay', $QuoteOfTheDay ? 'opac' : '');
22589
22588
    NewVersion( $DBversion, 16371, "Quote of the Day (QOTD) for the staff interface " );
22590
    NewVersion( $DBversion, 16371, "Quote of the Day (QOTD) for the staff interface " );
22589
}
22591
}
22590
22592
22591
- 

Return to bug 16371