Part of meta-issue #2002650: [meta] improve maintainability by removing unused local variables

File /core/modules/content_translation/lib/Drupal/content_translation/ContentTranslationController.php

Line 49: Unused local variable $translations
Line 237: Unused local variable $langcode

#2 2081145-remove_unused_variables-2.patch1.35 KBbeowulf1416
PASSED: [[SimpleTest]]: [MySQL] 59,334 pass(es).
[ View ]


beowulf1416’s picture

Assigned:Unassigned» beowulf1416
beowulf1416’s picture

Status:Active» Needs review
new1.35 KB
PASSED: [[SimpleTest]]: [MySQL] 59,334 pass(es).
[ View ]

removed unused variables

rhm5000’s picture

Status:Needs review» Reviewed & tested by the community

Applies and removes unused local variables.

catch’s picture

Status:Reviewed & tested by the community» Fixed

Committed/pushed to 8.x, thanks!

beowulf1416’s picture

my first fix! woohooo!

Automatically closed -- issue fixed for 2 weeks with no activity.