In user.module we are calling \Drupal::languageManager() twice. Seems unnecessary.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

eiriksm created an issue. See original summary.

eiriksm’s picture

Status: Active » Needs review
Issue tags: +Novice
FileSize
707 bytes
xito’s picture

Status: Needs review » Reviewed & tested by the community

I saw that the duplicate call has been removed in user_name, so I am going to to propose to be tested and reviewed by the community.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 3153a4e and pushed to 8.3.x. Thanks!

  • alexpott committed 3153a4e on 8.3.x
    Issue #2806523 by eiriksm: Reduce duplication in user_mail
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.