remove leftover if after deprecation removal (68563128).