It was just to remove the domain from the URL if it was present.