owncloud/core — pull request #9762 by icewind1991 (2014-07-21 15:09:35+00:00)
Title: Return the proper owner for home storages

Since we pass the owner of the home storage when mounting we might as well use it

This fixes the returned owner when called from public pages (and cron job and simular, non-loggedin situations)

Partial fix for #9759

Note that this only fixes the owner for the home storage in those cases, any other mounted storage will still return the incorrect owner, fixing that will require a lot more work

cc @nickvergessen @DeepDiver1975 @PVince81