Lines 8574-8579
$DBversion = "3.17.00.XXX";
Link Here
|
8574 |
if ( CheckVersion($DBversion) ) { |
8574 |
if ( CheckVersion($DBversion) ) { |
8575 |
$dbh->do(q{UPDATE systempreferences SET variable = 'AudioAlerts' WHERE variable = 'soundon'}); |
8575 |
$dbh->do(q{UPDATE systempreferences SET variable = 'AudioAlerts' WHERE variable = 'soundon'}); |
8576 |
|
8576 |
|
|
|
8577 |
$dbh->do(q{ |
8578 |
INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type ) VALUES |
8579 |
( 'OverrideAudioAlertWarning', '', NULL, 'URL to an audio file to replace the default warning sound.', 'free' ), |
8580 |
( 'OverrideAudioAlertAction', '', NULL, 'URL to an audio file to replace the default "action required" sound.', 'free' ), |
8581 |
( 'OverrideAudioAlertSuccess', '', NULL, 'URL to an audio file to replace the default success sound.', 'free' ) |
8582 |
}); |
8583 |
|
8577 |
print "Upgrade to $DBversion done (Bug 11169 - Add OPACAcquisitionDetails syspref)\n"; |
8584 |
print "Upgrade to $DBversion done (Bug 11169 - Add OPACAcquisitionDetails syspref)\n"; |
8578 |
SetVersion($DBversion); |
8585 |
SetVersion($DBversion); |
8579 |
} |
8586 |
} |