Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We have to remove depreciated db_query() from code base and we have to use \Drupal::database()->query()
Comment | File | Size | Author |
---|---|---|---|
#2 | 2870619-2.patch | 7.47 KB | Pavan B S |
Comments
Comment #2
Pavan B S CreditAttribution: Pavan B S at Valuebound commentedApplying the patch, please review.
Comment #3
Pavan B S CreditAttribution: Pavan B S at Valuebound commentedComment #4
jeremyr CreditAttribution: jeremyr as a volunteer commentedPatch applied clean and appears to work as described.
Comment #5
salvisThank 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().