diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-08-08 17:05:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-08 17:05:11 +0200 |
commit | f8b13ecd604451eb853bf1d7d1f12aadc857e527 (patch) | |
tree | 2ec4ae37cc98bbef9b1c6e52fe05dd0aab0706c9 /apps/dav | |
parent | fe2f8b5d189cbcda8c4f197197169a6e015d6622 (diff) | |
parent | 458c2fa2971e6595a18a289b0afeb4a79ea0e0d3 (diff) | |
download | nextcloud-server-f8b13ecd604451eb853bf1d7d1f12aadc857e527.tar.gz nextcloud-server-f8b13ecd604451eb853bf1d7d1f12aadc857e527.zip |
Merge pull request #32363 from nextcloud/cleanup/remove-long-deprecated-classes
Remove OCP\App and OCP\BackgroundJob
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/Connector/Sabre/File.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/File.php b/apps/dav/lib/Connector/Sabre/File.php index ebcfdabc6b3..94632b265db 100644 --- a/apps/dav/lib/Connector/Sabre/File.php +++ b/apps/dav/lib/Connector/Sabre/File.php @@ -553,7 +553,7 @@ class File extends Node implements IFile { * @return array|bool */ public function getDirectDownload() { - if (\OCP\App::isEnabled('encryption')) { + if (\OCP\Server::get(\OCP\App\IAppManager::class)->isEnabledForUser('encryption')) { return []; } /** @var \OCP\Files\Storage $storage */ |