Session expect OC_FilesystemView()

This commit is contained in:
Björn Schießle 2013-04-10 15:31:19 +02:00
parent fff979a590
commit 4303d6318e
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ OCP\Util::connectHook( 'OCP\Share', 'post_unshareAll', 'OCA\Encryption\Hooks', '
OCP\Util::connectHook( 'OC_Webdav_Properties', 'update', 'OCA\Encryption\Hooks', 'updateKeyfileFromClient' ); OCP\Util::connectHook( 'OC_Webdav_Properties', 'update', 'OCA\Encryption\Hooks', 'updateKeyfileFromClient' );
stream_wrapper_register( 'crypt', 'OCA\Encryption\Stream' ); stream_wrapper_register( 'crypt', 'OCA\Encryption\Stream' );
$view = new OC\Files\View('/'); $view = new OC_FilesystemView('/');
$session = new OCA\Encryption\Session($view); $session = new OCA\Encryption\Session($view);
if ( if (