FlagService - unflagAllByUserByFlag

Created on 21 February 2019, about 6 years ago
Updated 19 February 2025, about 2 months ago

I have a need to unflag all entities flagged by a user, using a specific flag. The flagging service has an unflagAllByUser() method and an unflagAllByFlag() method, but not the combo. Patch incoming.

✨ Feature request
Status

Needs work

Version

4.0

Component

Flag core

Created by

πŸ‡ΊπŸ‡ΈUnited States johnny5th

Live updates comments and jobs are added and updated live.
  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024