Removed deprecated function in templates/myaccount/my-account.php

Fix #4683