summaryrefslogtreecommitdiffstats
path: root/lib/private/files.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-03-30 22:10:04 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:28 +0200
commit00338f9dca97fd7b48d96201fd607cf460c385ff (patch)
treef88bfad7483e6b7432fdf4a2af5907efead59954 /lib/private/files.php
parent99255ff3a92b2d242f3c723979341951a303f83d (diff)
downloadnextcloud-server-00338f9dca97fd7b48d96201fd607cf460c385ff.tar.gz
nextcloud-server-00338f9dca97fd7b48d96201fd607cf460c385ff.zip
Removing files_encryption left overs
Diffstat (limited to 'lib/private/files.php')
-rw-r--r--lib/private/files.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files.php b/lib/private/files.php
index d0c1baa0c1e..97f9d8163b1 100644
--- a/lib/private/files.php
+++ b/lib/private/files.php
@@ -122,7 +122,7 @@ class OC_Files {
if ($get_type === self::FILE) {
$zip = false;
- if ($xsendfile && OC_App::isEnabled('files_encryption')) {
+ if ($xsendfile && \OC::$server->getEncryptionManager()->isEnabled()) {
$xsendfile = false;
}
} else {