Browse Source

Bug 8377 follow-up: fix update message

Add the bug number to the updatedatabase message.
3.12.x
Jared Camins-Esakov 12 years ago
parent
commit
8ce80b9ad4
  1. 4
      installer/data/mysql/updatedatabase.pl

4
installer/data/mysql/updatedatabase.pl

@ -6310,10 +6310,10 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
}
$DBversion = "3.11.00.011";
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
if ( CheckVersion($DBversion) ) {
$dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('HTML5MediaEnabled','not','Show a HTML5 media player in a tab on opac-detail.pl for media files catalogued in field 856.','not|opac|staff|both','Choice');");
$dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('HTML5MediaExtensions','webm|ogg|ogv|oga|vtt','Media file extensions','','free');");
print "Upgrade to $DBversion done (Add HTML5MediaEnabled and HTML5MediaExtensions sysprefs)\n";
print "Upgrade to $DBversion done (Bug 8377: Add HTML5MediaEnabled and HTML5MediaExtensions sysprefs)\n";
SetVersion ($DBversion);
}

Loading…
Cancel
Save