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/user/user.module
Line 52: Unused local variable $user
Line 525: Unused local variable $find
Comment | File | Size | Author |
---|---|---|---|
#1 | core-remove-unused-local-variables-user.module-2057137-1.patch | 666 bytes | legolasbo |
Comments
Comment #1
legolasboRemoved both variables.
Comment #2
tstoecklerAwesome, thanks!
Comment #3
alexpottCommitted 251c8d8 and pushed to 8.x. Thanks!
Comment #4
legolasbo