Closed (fixed)
Project:
Comment Notify
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2017 at 09:41 UTC
Updated:
27 Mar 2019 at 15:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Pavan B S commentedApplying the patch
Comment #3
gregglesThanks for providing this patch! Can you point to some documentation for how/when to use this new style?
Comment #4
gnugetI can help with that.
https://api.drupal.org/api/drupal/core!includes!database.inc/function/db...
In particular:
Eventually, on #2618168: Move procedural code into service we are going to change this again and inject the service instead to use
\Drupal::database()That makes me wonder if this is worth it or if it would better to wait until move this into a service and do the change there?Comment #5
gnugetActually, we might get rid of all these queries on #2618172: Switch from custom schema 'comment_notify_user_settings' to a field on user or UserData
Comment #6
Pavan B S commentedComment #7
gnugetInstead to just remove the deprecate database code, let's remove all the deprecated code, so Drupal 9 can use this module since the day 1.
Comment #8
gnugetComment #9
gnugetI replaced the deprecated code.
Comment #11
gnugetduh!
new patch.
Comment #13
gnugetThis module is ready for Drupal 9, yay!