Bug 4041: DBRev 3.19.00.032

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Tomas Cohen Arazi 2015-04-29 11:30:34 -03:00
parent ba2889b029
commit 8e4c7a3f3b
2 changed files with 11 additions and 9 deletions

View File

@ -9980,14 +9980,6 @@ if ( CheckVersion($DBversion) ) {
print "Upgrade to $DBversion done (Bug 9580: Cover image from Coce, a remote image URL cache)\n";
SetVersion($DBversion);
}
$DBversion = "XXX";
if ( CheckVersion($DBversion) ) {
$dbh->do(q|
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AddressFormat','us','Choose format to display postal addresses',NULL,'Choice')
|);
print "Upgrade to $DBversion done (Bug 4041: Address Format as a I18N/L10N system preference\n";
SetVersion ($DBversion);
}
$DBversion = "3.19.00.020";
if ( CheckVersion($DBversion) ) {
@ -10275,6 +10267,16 @@ if ( CheckVersion($DBversion) ) {
SetVersion($DBversion);
}
$DBversion = "3.19.00.032";
if ( CheckVersion($DBversion) ) {
$dbh->do(q|
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type)
VALUES('AddressFormat','us','Choose format to display postal addresses','','Choice')
|);
print "Upgrade to $DBversion done (Bug 4041: Address Format as a I18N/L10N system preference\n";
SetVersion ($DBversion);
}
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.

View File

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