diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-11-29 22:02:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-29 22:02:23 +0100 |
commit | 331f3b2652c39cde05a8cdd774c5a290a0aac8bc (patch) | |
tree | ff280f37298a3aeb8cb0103895a9f214fcf66484 /apps/files_external | |
parent | a915594b03757a9e7f3f0a266dd29003ac6dd7d0 (diff) | |
parent | df32b7a40e794a9fc388e033d7d9cf26362d5132 (diff) | |
download | nextcloud-server-331f3b2652c39cde05a8cdd774c5a290a0aac8bc.tar.gz nextcloud-server-331f3b2652c39cde05a8cdd774c5a290a0aac8bc.zip |
Merge pull request #12691 from nextcloud/storage-no-encryption-interface
Add interface to allow storages from opting out of encryption
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/Lib/Storage/OwnCloud.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Storage/OwnCloud.php b/apps/files_external/lib/Lib/Storage/OwnCloud.php index 3ee2b70ef22..04cd5ecf9af 100644 --- a/apps/files_external/lib/Lib/Storage/OwnCloud.php +++ b/apps/files_external/lib/Lib/Storage/OwnCloud.php @@ -25,6 +25,7 @@ */ namespace OCA\Files_External\Lib\Storage; +use OCP\Files\Storage\IDisableEncryptionStorage; use Sabre\DAV\Client; /** @@ -34,7 +35,7 @@ use Sabre\DAV\Client; * http://%host/%context/remote.php/webdav/%root * */ -class OwnCloud extends \OC\Files\Storage\DAV{ +class OwnCloud extends \OC\Files\Storage\DAV implements IDisableEncryptionStorage { const OC_URL_SUFFIX = 'remote.php/webdav'; public function __construct($params) { |