[ticket/11731] Replace acp_main/functions_user session delete queries

PHPBB3-11731