flag_friend_user_cancel() needs to delete not just the entries for the deleted user's friends, but also all occurrences of the deleted user on others' friend lists.

Comments

moonray’s picture

Status: Active » Needs review
StatusFileSize
new742 bytes

And here's a patch that'll fix the logic.

moonray’s picture

StatusFileSize
new1.44 KB

Let's add an update function to delete existing flag_friend data from canceled accounts.

mikl’s picture

Status: Needs review » Reviewed & tested by the community

Another good catch, should be merged.

sirkitree’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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