The metatag_metatags_delete_multiple() function checks to see if any records exist before deleting them. This verification is unnecessary.

CommentFileSizeAuthor
#2 metatag-n2514572-1.patch3.01 KBDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
3.01 KB

This should work - it removes the initial query, and then updates the deletion query to work off the revision IDs if they're passed in.

DamienMcKenna’s picture

Issue summary: View changes
DamienMcKenna’s picture

Status: Needs review » Fixed

Committed.

  • DamienMcKenna committed e39b3ef on 7.x-1.x
    Issue #2514572 by DamienMcKenna: Don't check if records exist when...

Status: Fixed » Closed (fixed)

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