if i delete a user from my site or uninstall a module that was being use, the activity still remains in the "spy" section.
How can i move it?
if i delete a user from my site or uninstall a module that was being use, the activity still remains in the "spy" section.
How can i move it? Geminixx Lives! |
Hello : I solved the same problem : Edit inc/admin.inc.php aprox in line 400 is defined the function profile_delete. There is a block to delete some user informacion : db_res( "DELETE FROM `sys_admin_ban_list` WHERE `ProfID`='". $ID . "' LIMIT 1"); add this : db_res( "DELETE FROM `bx_spy_data` WHERE sender_id = {$ID} " ); And all the activity of users in spy is deleted with the user. |
I added the line, cleared all cache and its still there... Any idea? Sometimes communicating your problem and putting it out there is enough to solve it |
I added the line, cleared all cache and its still there... Any idea? That is designed to delete spy data for a user when the user is deleted. However it does not clean out data for users that were already deleted. Only future user deletes. https://www.deanbassett.com |
Thanks for clarifying this Dean.
I added the line, cleared all cache and its still there... Any idea? That is designed to delete spy data for a user when the user is deleted. However it does not clean out data for users that were already deleted. Only future user deletes.
Sometimes communicating your problem and putting it out there is enough to solve it |