Issue #2078837 by alexpott: Fixed Ensure that we are using SQL storage for taxonomy_update_8007().
parent
de0492e741
commit
e1c40673b9
|
@ -309,6 +309,7 @@ function file_update_8003() {
|
|||
if (in_array($field_config->get('type'), array('file', 'image'))) {
|
||||
$field = new Field($field_config->get());
|
||||
|
||||
if (db_table_exists(DatabaseStorageController::_fieldTableName($field))) {
|
||||
$tables = array(
|
||||
DatabaseStorageController::_fieldTableName($field),
|
||||
DatabaseStorageController::_fieldRevisionTableName($field),
|
||||
|
@ -340,6 +341,7 @@ function file_update_8003() {
|
|||
$field_config->save();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -364,6 +364,7 @@ function taxonomy_update_8007() {
|
|||
if ($field_config->get('type') == 'taxonomy_term_reference') {
|
||||
$field = new Field($field_config->get());
|
||||
|
||||
if (db_table_exists(DatabaseStorageController::_fieldTableName($field))) {
|
||||
$tables = array(
|
||||
DatabaseStorageController::_fieldTableName($field),
|
||||
DatabaseStorageController::_fieldRevisionTableName($field),
|
||||
|
@ -390,4 +391,5 @@ function taxonomy_update_8007() {
|
|||
$field_config->save();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue