Posted by bensemmel on February 22, 2009 at 3:30pm
4 followers
| Project: | FriendList |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Issue Summary
Hi,
at the moment, if a user gets deleted, relations or pending relations with this user aren't shown any more. This is the expected behaviour, which is done by views.
But the function friendlist_api_db_statuses still shows the relation. I think this should be changed, so that relation statuses with deleted users aren't shown any more.
Is this possible?
Regards,
Ben
Comments
#1
Hi,
My goodness... this isn't just *possible*, this is *necessary*!
Upgrading this to bug report. It's important to delete relations if a user is *deleted* from the database...
Will get onto it ASAP. Sorry about the wait.
Merc.
#2
Here's a patch that adds in the deletion from the status table.
#3
Oh nice, thanks for providing a patch. This patch works pretty fine and looks fine as well. Update status, even this will probably not be applied anymore.