In dblog module of drupal core db_select, db_query and db_query_range use is deprecated and instead it should be used with :
\Drupal::database()->select()
\Drupal::database()->query()
\Drupal::database()->queryRange()
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | interdiff-2955182-10-12.txt | 560 bytes | yogeshmpawar |
| #12 | 2955182-12.patch | 10.56 KB | yogeshmpawar |
| #10 | 2955182-10.patch | 10.57 KB | yogeshmpawar |
| #6 | deprecated-removed-2955182-6.patch | 13.94 KB | mahaveer003 |
| #2 | deprecated-removed-2955182-2.patch | 13.92 KB | mahaveer003 |
Comments
Comment #2
mahaveer003 commentedI have added the patch with removed all deprecated db_select, db_query and db_query_range please review.
Comment #3
mahaveer003 commentedComment #5
dravenkThese lines of blank comments are not described.
Comment #6
mahaveer003 commentedI have updated the patch
Comment #8
dagmarThanks for working on this.
Please do not include all the fixes for coding standards here. This makes harder to review and can make other dblog patches hard to appy.
Comment #9
yogeshmpawarComment #10
yogeshmpawarAs per suggestion in #8 by @dagmar, created new patch which removes all db_select() and db_query() deprecated from Dblog module.
Comment #12
yogeshmpawarPHPLint error resolved & added updated patch with an interdiff.
Comment #14
dagmarSorry for wasting your time, but I did some research and according to #2848161: [meta] Replace calls to deprecated db_*() wrappers
And
db_query_rangeis used by test and should be replaced with a similar issue in all the modules.