Bug 8992: DBRev 3.19.00.031

Some fixes too.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Tomas Cohen Arazi 2015-04-28 16:33:27 -03:00
parent b5e9691060
commit e3450b2de7
2 changed files with 4 additions and 4 deletions

View File

@ -10257,10 +10257,10 @@ DELETE FROM language_descriptions
SetVersion($DBversion);
}
$DBversion = "3.19.00.XXX";
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
$DBversion = "3.19.00.031";
if ( CheckVersion($DBversion) ) {
$dbh->do(q{
INSERT INTO systempreferences (variable,value,explanation,options,type)
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type)
VALUES('IdRef','0','Disable/enable the IdRef webservice from the OPAC detail page.',NULL,'YesNo')
});
print "Upgrade to $DBversion done (Bug 8992: Add system preference IdRef))\n";

View File

@ -17,7 +17,7 @@ the kohaversion is divided in 4 parts :
use strict;
sub kohaversion {
our $VERSION = '3.19.00.030';
our $VERSION = '3.19.00.031';
# version needs to be set this way
# so that it can be picked up by Makefile.PL
# during install