fix login errors while filesystem is not loaded

This commit is contained in:
Florin Peter 2013-05-31 11:55:40 +02:00
parent a730a72dcb
commit 4a0e69f941

View file

@ -46,6 +46,11 @@ class Hooks {
$view = new \OC_FilesystemView('/');
// ensure filesystem is loaded
if(!\OC\Files\Filesystem::$loaded) {
\OC_Util::setupFS($params['uid']);
}
$util = new Util($view, $params['uid']);
// setup user, if user not ready force relogin