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/locale/locale.install
Line 302: Unused local variable $project_id
Line 512: Unused local variable $method_id
Comment | File | Size | Author |
---|---|---|---|
#3 | drupal-core-remove-unused-local-variable-2080459-3.patch | 1.19 KB | mrsinguyen |
#1 | drupal-core-remove-unused-local-variable-2080459.patch | 1.19 KB | mrsinguyen |
Comments
Comment #1
mrsinguyen CreditAttribution: mrsinguyen commentedAttached patch.
Comment #2
LinL CreditAttribution: LinL commentedPatch no longer applies.
Comment #3
mrsinguyen CreditAttribution: mrsinguyen commentedComment #4
mcrittenden CreditAttribution: mcrittenden commentedTags
Comment #5
tim.plunkettRemoving tags
Comment #6
johnmcc CreditAttribution: johnmcc commentedApplies cleanly and addresses the issue. Looks good.
Comment #7
webchickCommitted and pushed to 8.x. Thanks!