Closed (fixed)
Project:
User IP Log
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Oct 2012 at 20:55 UTC
Updated:
25 Feb 2013 at 09:20 UTC
The IPs are not removed from the database when the user is removed. The following code fixes that:
function uiplog_user_delete($account) {
db_delete('uiplog')
->condition('uid', $account->uid)
->execute();
}
Comments
Comment #1
dariogcode commentedI think this is good feature to have.
Comment #2
sivaji_ganesh_jojodae commentedThanks for the suggestion. Added code to development branch.