owncloud/core — pull request #9904 by icewind1991 (2014-07-25 16:00:56+00:00)
Title: Dont throw an error when calling $server->getUserFolder when logged out

Returning `null` is a lot better then dying.

This also fixed owncloud/music#254 for me.

cc @DeepDiver1975 @PVince81 @MorrisJobke