Now that lights are objects, the `light_link_light_match()` function is not necessary anymore, world is also not `OBJECT_NONE` anymore. Pull Request: https://projects.blender.org/blender/blender/pulls/155085