Reviewed & tested by the community
Project:
Tracker 2
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2010 at 14:55 UTC
Updated:
31 Jan 2011 at 15:49 UTC
It seems to me that tracker2 would have to remove data when a user account is deleted.
/**
* Implementation of hook_user().
*/
function tracker2_user($op, &$edit, &$account, $category = NULL) {
if ($op == 'delete') {
// Remove tracker data for the user account being deleted.
db_query("DELETE FROM {tracker2_user} WHERE uid = %d", $account->uid);
}
}
Comments
Comment #1
quotesbro commentedIt seems very reasonable.