[ticket/12487] Remove legacy code from includes/functions.php

https://tracker.phpbb.com/browse/PHPBB3-12487

PHPBB3-12487
[ticket/12487] Remove legacy code from includes/functions_acp.php

https://tracker.phpbb.com/browse/PHPBB3-12487

PHPBB3-12487