Skip to content

Commit

Permalink
Issue #6051: Remove faulty update of locale_translation_plurals on D7…
Browse files Browse the repository at this point in the history
… upgrades

By @argiepiano and @kiamlaluno.
  • Loading branch information
argiepiano authored and quicksketch committed Jun 14, 2023
1 parent eec4431 commit d0be5f9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/modules/locale/locale.install
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,6 @@ function locale_update_1004() {

$config->save();

state_set('locale_translation_plurals', update_variable_get('locale_translation_plurals', array()));

// Moved to config:
update_variable_del('locale_language_negotiation_url_type');
update_variable_del('locale_language_providers_weight_language');
Expand All @@ -358,7 +356,6 @@ function locale_update_1004() {
update_variable_del('locale_cache_strings');

// Moved to state:
update_variable_del('locale_translation_plurals');
update_variable_del('locale_translation_javascript');
}

Expand Down

1 comment on commit d0be5f9

@backdrop-ci
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.