owncloud/core — pull request #10774 by MorrisJobke (2014-08-31 11:40:34+00:00)
Title: Add optional user ID parameter for getUseFolder

Backport of #10770

This is required because the user session hasn't the method `getUser()` so I need to use the static method call `\OCP\User`

cc @icewind1991 @tomneedham