Closed (fixed)
Project:
Scheduler
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2017 at 06:16 UTC
Updated:
24 Apr 2017 at 17:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Pavan B S commentedApplying the patch, please review.
Comment #3
jonathan1055 commentedThanks for bringing this to our attention. Could you give a link to the Change Record and/or the coding standards and good practice info, so that we can properly evaluate the changes required.
Comment #4
Pavan B S commented@jonathan1055 i am not sure which is the proper link for the db_() but, when i searched about depreciated db_ i got the following link which shows that db_select,db_insert,db_update are depreciated
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Database%...
Please Suggest if i am wrong in that patch
Comment #5
dhruveshdtripathi commentedAll deprecated db_() replaced.
Good work!
Comment #6
jonathan1055 commentedThanks. I have updated the summary with links to db_update and db_select which explain that these are deprecated now.
The new patch uses dependency injection to create a
$this->databaseproperty which can be re-used in the test files.Comment #8
jonathan1055 commentedFixed.
Thanks Pavan B S and dhruveshdtripathi, I've given you credit on the commit.