We have to remove depreciated db_query() from code base and we have to use \Drupal::database()->query()

CommentFileSizeAuthor
#2 2870619-2.patch7.47 KBPavan B S

Comments

Pavan B S created an issue. See original summary.

Pavan B S’s picture

StatusFileSize
new7.47 KB

Applying the patch, please review.

Pavan B S’s picture

Status: Active » Needs review
jeremyr’s picture

Patch applied clean and appears to work as described.

salvis’s picture

Assigned: Pavan B S » Unassigned
Status: Needs review » Closed (outdated)

Thank you for your patch, Pavan B S, and for testing, jeremyr, but I went with #3054461: Replace deprecated db_* calls, which goes from db_query() to \Drupal::database()->select() rather than just \Drupal::database()->query().