Commit 215c3e82 authored by catch's avatar catch
Browse files

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

parent 2f167bdd
......@@ -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');
......
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment