Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Part of meta-issue #2002650: [meta, no patch] 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
Comment | File | Size | Author |
---|---|---|---|
#2 | 2081145-remove_unused_variables-2.patch | 1.35 KB | beowulf1416 |
Comments
Comment #1
beowulf1416 CreditAttribution: beowulf1416 commentedComment #2
beowulf1416 CreditAttribution: beowulf1416 commentedremoved unused variables
Comment #3
rhm5000 CreditAttribution: rhm5000 commentedApplies and removes unused local variables.
Comment #4
catchCommitted/pushed to 8.x, thanks!
Comment #5
beowulf1416 CreditAttribution: beowulf1416 commentedmy first fix! woohooo!