Lines 8617-8622
$DBversion = "3.17.00.XXX";
Link Here
|
8617 |
if ( CheckVersion($DBversion) ) { |
8617 |
if ( CheckVersion($DBversion) ) { |
8618 |
$dbh->do(q{UPDATE systempreferences SET variable = 'AudioAlerts' WHERE variable = 'soundon'}); |
8618 |
$dbh->do(q{UPDATE systempreferences SET variable = 'AudioAlerts' WHERE variable = 'soundon'}); |
8619 |
|
8619 |
|
|
|
8620 |
$dbh->do(q{ |
8621 |
INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type ) VALUES |
8622 |
( 'OverrideAudioAlertWarning', '', NULL, 'URL to an audio file to replace the default warning sound.', 'free' ), |
8623 |
( 'OverrideAudioAlertAction', '', NULL, 'URL to an audio file to replace the default "action required" sound.', 'free' ), |
8624 |
( 'OverrideAudioAlertSuccess', '', NULL, 'URL to an audio file to replace the default success sound.', 'free' ) |
8625 |
}); |
8626 |
|
8620 |
print "Upgrade to $DBversion done (Bug 11169 - Add OPACAcquisitionDetails syspref)\n"; |
8627 |
print "Upgrade to $DBversion done (Bug 11169 - Add OPACAcquisitionDetails syspref)\n"; |
8621 |
SetVersion($DBversion); |
8628 |
SetVersion($DBversion); |
8622 |
} |
8629 |
} |