disabled FileProxy in Keymanager::getPrivateKey

This commit is contained in:
Florin Peter 2013-05-15 02:36:23 +02:00
parent ddedf20106
commit 499fe6ca8e
1 changed files with 7 additions and 2 deletions

View File

@ -39,8 +39,13 @@ class Keymanager {
$path = '/' . $user . '/' . 'files_encryption' . '/' . $user.'.private.key';
$proxyStatus = \OC_FileProxy::$enabled;
\OC_FileProxy::$enabled = false;
$key = $view->file_get_contents( $path );
\OC_FileProxy::$enabled = $proxyStatus;
return $key;
}