ezsystems/ezpublish-kernel — pull request #595 by pspanja (2013-11-07 10:57:53+00:00)
Title: Fix EZP-21904: Fatal error after deleting the location of a single location object 

This PR resolves issue https://jira.ez.no/browse/EZP-21904

When Location was deleted reindex of its Content was triggered in all cases, which produced a fatal error when deleted Location was last Location of Content, meaning Content was deleted with it.

Tested manually.