Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#2 | friendlist-380154.patch | 704 bytes | manarth |
Comments
Comment #1
mercmobily CreditAttribution: mercmobily commentedHi,
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.
Comment #2
manarth CreditAttribution: manarth commentedHere's a patch that adds in the deletion from the status table.
Comment #3
dawehnerOh 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.