Problem/Motivation

Running Upgrade Status on Drupal 11, I see

web/modules/composer/email_registration/src/Controller/UserHttpAuthenticationController.php 51 Call to deprecated method userIsBlocked() of class Drupal\user\Controller\UserAuthenticationController. Deprecated in drupal:10.3.0 and is removed from drupal:12.0.0. There is no replacement.
web/modules/composer/email_registration/src/Plugin/Commerce/CheckoutPane/EmailRegistrationLogin.php 120 Call to deprecated function user_is_blocked(). Deprecated in drupal:11.0.0 and is removed from drupal:12.0.0. Use Drupal\user\UserInterface::isBlocked() instead.

Proposed resolution

See if we can use UserInterface::isBlocked() instead, as suggested.

Remaining tasks

Assigning this to myself to make an MR.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

benstallings created an issue. See original summary.

benstallings’s picture

Assigned: benstallings » Unassigned
Status: Active » Needs review
anybody’s picture

anybody’s picture

Status: Needs review » Reviewed & tested by the community

Thank you @benstallings!!

anybody’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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