There is a depreciated db_select ,db_delete, db_update, db_insert. In drupal 8 we should not use the depreciated db_queries.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Munavijayalakshmi created an issue. See original summary.

Munavijayalakshmi’s picture

Assigned: Munavijayalakshmi » Unassigned
Status: Active » Needs review
FileSize
3.39 KB
surbz’s picture

@Munavijayalakshmi thanks for the patch.
I manually applied this patch and it works great!

surbz’s picture

Status: Needs review » Reviewed & tested by the community
imyaro’s picture

Status: Reviewed & tested by the community » Needs work
$existing_file = \Drupal::database()->query("SELECT svid FROM {site_verify} WHERE LOWER(file) = LOWER(:file)", array(

Why you did not use LIKE?

Jim.M’s picture

Status: Needs work » Fixed

@zvse Please make a separate issue about it.

Committed the patch. Thanks!

Status: Fixed » Closed (fixed)

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