Bug 10550: Merge 2 updatedatabase entries into 1

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Jonathan Druart 2013-08-19 15:05:49 +02:00 committed by Galen Charlton
parent dbaefb626c
commit eb76026a68
1 changed files with 3 additions and 6 deletions

View File

@ -7081,13 +7081,10 @@ if ( CheckVersion($DBversion) ) {
UPDATE saved_sql SET savedsql = REPLACE(savedsql, 'wthdrawn', 'withdrawn')
});
print "Upgrade to $DBversion done (Bug 10550 - Fix database typo wthdrawn)\n";
SetVersion($DBversion);
}
$dbh->do(q{
UPDATE marc_subfield_structure SET kohafield = 'items.withdrawn' WHERE kohafield = 'items.wthdrawn'
});
$DBversion = "3.13.00.XXX";
if ( CheckVersion($DBversion) ) {
$dbh->do("UPDATE marc_subfield_structure SET kohafield = 'items.withdrawn' WHERE kohafield = 'items.wthdrawn'");
print "Upgrade to $DBversion done (Bug 10550 - Fix database typo wthdrawn)\n";
SetVersion($DBversion);
}