Project

General

Profile

Actions

Bug #441

closed

Members receiving email notifications from groups they've left

Added by Boone Gorges almost 14 years ago. Updated almost 14 years ago.

Status:
Resolved
Priority name:
High
Assignee:
Category name:
BuddyPress (misc)
Target version:
Start date:
2010-12-07
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

One unintended result of the way that I transferred old subscription settings to the new ones is that members who had once been a member of a given group but had since left it were subscribed to emails in that group. That is a function of the fact that the old plugin was sloppy about removing that data from the system when someone left a group. I probably should have checked against current group membership instead of using only those old settings as a data point, but what's done is done.

My plan is to write another script that loads the subscription data for each group and checks it against the membership rolls. If a subscribed user is not currently a member of the group, he will have his subscription removed.

NB this is probably not a problem for that many people, as I would imagine that few people have left as many groups as I have (for testing, etc).


Files

441.diff (1.69 KB) 441.diff Boone Gorges, 2010-12-07 05:00 PM
Actions

Also available in: Atom PDF