Fixed bug relating to Filesystem{} that prevented webdav logins with files_encryption

This commit is contained in:
Sam Tuke 2013-02-05 16:09:01 +00:00
parent a1f200c1e5
commit 221b69dd0e
1 changed files with 51 additions and 49 deletions

View File

@ -38,6 +38,8 @@ class Hooks {
*/ */
public static function login( $params ) { public static function login( $params ) {
\OC\Files\Filesystem::init( $params['uid'] . '/' . 'files' . '/' );
$view = new \OC_FilesystemView( '/' ); $view = new \OC_FilesystemView( '/' );
$util = new Util( $view, $params['uid'] ); $util = new Util( $view, $params['uid'] );