diff options
author | Robin Appelman <robin@icewind.nl> | 2018-11-27 16:54:00 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2018-11-27 16:56:48 +0100 |
commit | f3798a7349c87faa6a301462665c82b209c219e5 (patch) | |
tree | 6ed1ca4945715d7b08837ed5e580d31ec85eb164 /apps/files_external | |
parent | b7e195dd7f265ceb769c4b5a8f0eb5434c69ddd3 (diff) | |
download | nextcloud-server-f3798a7349c87faa6a301462665c82b209c219e5.tar.gz nextcloud-server-f3798a7349c87faa6a301462665c82b209c219e5.zip |
Add interface to allow storages from opting out of encryption
As opposed to hard-coding a list of excluded storages
Signed-off-by: Robin Appelman <robin@icewind.nl>
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) { |