SMF icon indicating copy to clipboard operation
SMF copied to clipboard

Delete quote & mention alerts if removed during edit

Open sbulen opened this issue 3 years ago • 0 comments

Partial for #7423

If a post is edited, & mentions or quotes are removed, delete any alerts for them. The logic to do this cleanup has been around, but it wasn't being invoked correctly. It works fine once it's invoked.

It needed to know approval status, because you don't want to generate alerts for unapproved posts. But for some reason, the approval status wasn't passed.

Also, it needed to explicitly check for removals. Previously it was just checking for the presence of quotes or mentions in the edited post... So... If they were deleted... It didn't know it had cleanup to do... 🙄

sbulen avatar Jun 26 '22 03:06 sbulen