Fix checking for external share in encryption

remotes/origin/ldap_group_count
Robin Appelman 11 years ago committed by Bjoern Schiessle
parent 277f25222a
commit 790d51ea1e
  1. 5
      apps/files_encryption/lib/proxy.php

@ -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;
}

Loading…
Cancel
Save