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/node/node.module
Line 810: Unused local variable $name
Line 2268: Unused local variable $langcode
Comment | File | Size | Author |
---|---|---|---|
#1 | drupal-2062585-1.patch | 890 bytes | sergeypavlenko |
Comments
Comment #1
sergeypavlenko CreditAttribution: sergeypavlenko commentedComment #2
andypostnice!
$langcode
has no usage latter in codeComment #3
alexpottCommitted 6a604e0 and pushed to 8.x. Thanks!