Issue #1439692 by Gábor Hojtsy: update for Fixed Rename field language properties to langcode.

8.0.x
catch 2012-04-10 16:28:13 +09:00
parent 2f167bdda3
commit 215c3e8285
2 changed files with 2 additions and 2 deletions

View File

@ -316,7 +316,7 @@ function _update_7000_field_delete_instance($field_name, $entity_type, $bundle)
* by the $key parameter.
* @ingroup update-api-7.x-to-8.x
*/
function _update_8000_field_read_fields(array $conditions = array(), $key = 'id') {
function _update_7000_field_read_fields(array $conditions = array(), $key = 'id') {
$fields = array();
$query = db_select('field_config', 'fc', array('fetch' => PDO::FETCH_ASSOC))
->fields('fc');

View File

@ -109,7 +109,7 @@ function field_sql_storage_update_8000(&$sandbox) {
);
// Retrieve field data.
$fields = _update_8000_field_read_fields(array('storage_type' => 'field_sql_storage'));
$fields = _update_7000_field_read_fields(array('storage_type' => 'field_sql_storage'));
// Update schema.
foreach ($fields as $field) {