Lines 8564-8569
$DBversion = "3.17.00.XXX";
Link Here
|
8564 |
if ( CheckVersion($DBversion) ) { |
8564 |
if ( CheckVersion($DBversion) ) { |
8565 |
$dbh->do(q{UPDATE systempreferences SET variable = 'AudioAlerts' WHERE variable = 'soundon'}); |
8565 |
$dbh->do(q{UPDATE systempreferences SET variable = 'AudioAlerts' WHERE variable = 'soundon'}); |
8566 |
|
8566 |
|
|
|
8567 |
$dbh->do(q{ |
8568 |
INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type ) VALUES |
8569 |
( 'OverrideAudioAlertWarning', '', NULL, 'URL to an audio file to replace the default warning sound.', 'free' ), |
8570 |
( 'OverrideAudioAlertAction', '', NULL, 'URL to an audio file to replace the default "action required" sound.', 'free' ), |
8571 |
( 'OverrideAudioAlertSuccess', '', NULL, 'URL to an audio file to replace the default success sound.', 'free' ) |
8572 |
}); |
8573 |
|
8567 |
print "Upgrade to $DBversion done (Bug 11169 - Add OPACAcquisitionDetails syspref)\n"; |
8574 |
print "Upgrade to $DBversion done (Bug 11169 - Add OPACAcquisitionDetails syspref)\n"; |
8568 |
SetVersion($DBversion); |
8575 |
SetVersion($DBversion); |
8569 |
} |
8576 |
} |