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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Pavan B S created an issue. See original summary.

Pavan B S’s picture

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().