Download & Extend

friendlist_api_socnet_all_pending_to returns friends requests from deleted users

Project:FriendList
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active

Issue Summary

Hi there,

first of all: thanks for your work.

I found a bug where I get messages displayed that there's a new friend request, but there isn't any. This happend if user A sends a friendsrequest to user B and user A gets deleted before A accepted the request. I gues this is because hook_user does not delete all entries in {friendslist_statuses} with the id of the deleted user?!?

Regards - Andreas