ezsystems/ezp-next — pull request #84 by pspanja (2012-10-09 16:14:37+00:00)
Title: Completely removed loadMainLocation()

This PR completely removes LocationService::loadMainLocation() for reasons mentioned before:

* it uses search handler which will cease to work for this purpose when locations are removed from SPI Content
* ContentInfo contains main location id and loadLocation( $contentInfo->mainLocationId ) can be used instead