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.
In drupal 8 we should not use the depreciated db_queries.
Comment | File | Size | Author |
---|---|---|---|
#8 | interdiff-2880344-6-8.txt | 8.74 KB | jzavrl |
#8 | 2880344-8.patch | 10.29 KB | jzavrl |
#6 | depreciated_Database_queries-2880344-6.patch | 3.32 KB | arunkumark |
#2 | depreciated_Database_queries-2880344-2.patch | 3.23 KB | Munavijayalakshmi |
Comments
Comment #2
Munavijayalakshmi CreditAttribution: Munavijayalakshmi at Valuebound commentedComment #3
borisson_Please use proper DI to do this instead. This does remove the deprecated function calls but replaces them with the same problem.
Let's make sure that this code flows closer to 80 cols, we're touching it here so seems like a good time to do that.
Remove @todo
Remove @todo
Comment #4
borisson_Tagging as Novice.
Comment #5
scottcwilson CreditAttribution: scottcwilson as a volunteer commentedI'd like to try working on this one.
Comment #6
arunkumarkI have re-rolled the patch.
Comment #7
borisson_Dependency injection is not used yet for these. Back to needs work.
Comment #8
jzavrl CreditAttribution: jzavrl at NDP commentedRerolled the patch to make use of dependency injection. Have also removed the deprecated
db_or()
calls from the files and fixed some coding standards warnings.Comment #9
borisson_Looks good! Thanks for those changes!
Comment #10
borisson_Committed, thanks!