diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-11-29 22:01:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-29 22:01:14 +0100 |
commit | 96450a9e9b7bb80f5883e9f1ca95d093cc33100b (patch) | |
tree | 6c0e77de4b1eab3cba1cb6908e2cb6e68e418e0c /apps/files_external | |
parent | 82fedb16a010890697854ed2375e5893f077915c (diff) | |
parent | 7cdc04a7932f45889fb72b3e29dd12708f1d091c (diff) | |
download | nextcloud-server-96450a9e9b7bb80f5883e9f1ca95d093cc33100b.tar.gz nextcloud-server-96450a9e9b7bb80f5883e9f1ca95d093cc33100b.zip |
Merge pull request #12692 from nextcloud/storage-no-encryption-interface-15
[15] 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) { |