I checked the code using drupal-check tools. And drupal-check showed follow results:

------ ----------------------------------------------------------------
Line spambot.module
------ ----------------------------------------------------------------
93 Call to deprecated function user_delete():
in drupal:8.8.0 and is removed from drupal:9.0.0. Use the user
entity's delete method to delete the user.
------ ----------------------------------------------------------------

CommentFileSizeAuthor
#4 3115272-4.patch560 bytesSudeepthi Peteti

Comments

aleanna created an issue. See original summary.

Sudeepthi Peteti’s picture

Assigned: Unassigned » Sudeepthi Peteti
Sudeepthi Peteti’s picture

Sudeepthi Peteti’s picture

Assigned: Sudeepthi Peteti » Unassigned
Status: Active » Needs review
StatusFileSize
new560 bytes
kala4ek’s picture

Assigned: Unassigned » kala4ek

Not needed to load User object, $account is already the user object.

  • kala4ek committed 83cee38 on 8.x-1.x
    Issue #3115272 by asya_asina, kala4ek: Drupal 9 Deprecated Code Report...
kala4ek’s picture

Assigned: kala4ek » Unassigned
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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