drupal-check admin_denied

1/1 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

------ -------------------------------------------------------------------------
Line admin_denied.module
------ -------------------------------------------------------------------------
17 Call to deprecated function db_like():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,
get a database connection injected into your service from the container
and call escapeLike() on it. For example,
17 Call to deprecated function db_select():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead, get
a database connection injected into your service from the container and
call select() on it. For example,
20 Call to deprecated function db_update():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead, get
a database connection injected into your service from the container and
call update() on it. For example,
------ -------------------------------------------------------------------------

[ERROR] Found 3 errors

Comments

Kate.Yemelyanenka created an issue. See original summary.

Sudeepthi Peteti’s picture

Assigned: Kate.Y » Sudeepthi Peteti
Sudeepthi Peteti’s picture

Assigned: Sudeepthi Peteti » Unassigned
Status: Active » Needs review
StatusFileSize
new1.07 KB

Hi,

Created patch after removing deprecated code.

hardikpandya’s picture

StatusFileSize
new1.36 KB

Thanks Sudeepthi!

However, the general naming convention for a patch is [issue-number]-[comment-number].patch
See: https://www.drupal.org/docs/develop/git/using-git-to-contribute-to-drupa...

The info.yml file also needed an update to make it Drupal 9 ready.

I have added the patch and skipped the interdiff as anyways the previous patch file naming was incorrect.

  • hardikpandya authored 87ceb6b on 8.x-1.x
    Issue #3112163 by Sudeepthi Peteti, hardikpandya, Kate.Yemelyanenka:...
cafuego’s picture

Version: 8.x-1.x-dev » 8.x-1.1
Status: Needs review » Fixed

Patch applied and version 8.x-1.1 released for your safety and comfort.

dpi’s picture

Thank you for delaying the robot-driven apocalypse.

Status: Fixed » Closed (fixed)

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