[ticket/11824] Revert changes in functions.php

These will be added in another PR

PHPBB3-11824