Lines 9612-9617
$DBversion = "3.19.00.XXX";
Link Here
|
9612 |
if ( CheckVersion($DBversion) ) { |
9612 |
if ( CheckVersion($DBversion) ) { |
9613 |
$dbh->do(q{UPDATE systempreferences SET variable = 'AudioAlerts' WHERE variable = 'soundon'}); |
9613 |
$dbh->do(q{UPDATE systempreferences SET variable = 'AudioAlerts' WHERE variable = 'soundon'}); |
9614 |
|
9614 |
|
|
|
9615 |
$dbh->do(q{ |
9616 |
INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type ) VALUES |
9617 |
( 'OverrideAudioAlertWarning', '', NULL, 'URL to an audio file to replace the default warning sound.', 'free' ), |
9618 |
( 'OverrideAudioAlertAction', '', NULL, 'URL to an audio file to replace the default "action required" sound.', 'free' ), |
9619 |
( 'OverrideAudioAlertSuccess', '', NULL, 'URL to an audio file to replace the default success sound.', 'free' ) |
9620 |
}); |
9621 |
|
9615 |
print "Upgrade to $DBversion done (Bug 11169 - Add OPACAcquisitionDetails syspref)\n"; |
9622 |
print "Upgrade to $DBversion done (Bug 11169 - Add OPACAcquisitionDetails syspref)\n"; |
9616 |
SetVersion($DBversion); |
9623 |
SetVersion($DBversion); |
9617 |
} |
9624 |
} |