disabled FileProxy in Keymanager::getPrivateKey
This commit is contained in:
parent
ddedf20106
commit
499fe6ca8e
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue