Location: include/acp/acp_users.php (acp_users::main)
Parameters: array(warning_row) (of those being removed). Or one call per row deleted.
I am writing a mod that can perform actions on warnings. Similar to AutoBan, but more nuanced (different warning levels, and can add a user to a group when they go above X warnings, AND remove them when they fall below Y warnings again). I had custom modified autoban in 3.0.x to allow multiple thresholds, and also used the auto_group mod from 3.0.x to handle adding/removing users to/from a group with warning thresholds.
I'm trying to make a new mod that combines the functionality of auto_group and autoban, and does so when actions occur, instead of waiting till the user logs in and then checking thresholds.
Task PHPBB-13729 is open for the auto-expiry code.