[feature/migrations] Revert unrelated changes to functions.php

PHPBB3-9737