Skip to content
Snippets Groups Projects
Commit 790d51ea authored by Robin Appelman's avatar Robin Appelman Committed by Bjoern Schiessle
Browse files

Fix checking for external share in encryption

parent 277f2522
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,10 @@ class Proxy extends \OC_FileProxy {
// we don't encrypt server-to-server shares
list($storage, ) = \OC\Files\Filesystem::resolvePath($path);
if ($storage instanceof OCA\Files_Sharing\External\Storage) {
/**
* @var \OCP\Files\Storage $storage
*/
if ($storage->instanceOfStorage('OCA\Files_Sharing\External\Storage')) {
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment