The code db_delete, db_select, db_merge , db_insert is depreciated in drupal8.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sriparna Khatua created an issue. See original summary.

Sriparna Khatua’s picture

Assigned: Sriparna Khatua » Unassigned
Status: Active » Needs review
FileSize
795 bytes

Patch uploaded. Please review.

Daniel.Moberly’s picture

You're still using a deprecated delete method. The proper way is to call the delete function on the database wrapper as a query

Daniel.Moberly’s picture

Rerolling patch

  • Daniel.Moberly committed bfd4447 on 8.x-1.x
    Issue #2876718 by Daniel.Moberly: Replace calls to deprecated db_*()...
Daniel.Moberly’s picture

Status: Needs review » Fixed

Released in 8.x-1.3

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.