Part of meta-issue #2002650: [meta] improve maintainability by removing unused local variables
Line 23: Unused local variable $uid
Line 23: I see the $uid still use.
@mrsinguyen Actually $uid variable before the conditional is unused because $uid is re-declared inside the conditional which is the $uid being used. Also $uid is only being used within the conditional's scope, so removing the one outside is correct.
Patch applies and unused $uid is removed.
Committed 0acc459 and pushed to 8.x. Thanks!
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.