[Sprint/HipsterHedgehog] (fix): when deleting activity, also remove from moderated group queue
closes #504
0/1 thread resolved
mentioned in merge request !222 (closed)
785 786 // remove from pinned 786 787 $owner->removePinned($activity->guid); 787 788 789 // if it was posted to a group - Owner
Can you do an event hook, listening for
delete
instead. Newsfeed.php is already too big with too much logic, and we have the events already
added MR::Requires Changes scoped label
added Squad::Yellow scoped label
- Owner
@eiennohi please chase these MR's up..
- Developer
@markeharding I actually forgot to close this MR, but we talked about this a few weeks back: I initially thought this feature was broken, as it didn't work when I tested it, but when you asked me to refactor this MR, I noticed this piece of code was already in place, and it was working: https://gitlab.com/minds/engine/blob/master/Core/Groups/Events.php#L109-126
closed