aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Knorr <jus@bitgrid.net>2025-04-07 20:00:35 +0200
committerJulius Knorr <jus@bitgrid.net>2025-04-07 20:00:35 +0200
commit1bf082628803bf8d3764ada519392c4dadea0e35 (patch)
tree1fcc651312db2b53ee271fcae84e019d70e9afdc
parent46244578773755ae673565e9342e9ae68015003e (diff)
downloadnextcloud-server-debug/31-performance-patches.tar.gz
nextcloud-server-debug/31-performance-patches.zip
perf: Skip direct download urldebug/31-performance-patches
Signed-off-by: Julius Knorr <jus@bitgrid.net>
-rw-r--r--apps/dav/lib/Connector/Sabre/File.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/Connector/Sabre/File.php b/apps/dav/lib/Connector/Sabre/File.php
index 67b562a6221..68ceccb96f6 100644
--- a/apps/dav/lib/Connector/Sabre/File.php
+++ b/apps/dav/lib/Connector/Sabre/File.php
@@ -537,6 +537,7 @@ class File extends Node implements IFile {
* @return array|bool
*/
public function getDirectDownload() {
+ return [];
if (Server::get(IAppManager::class)->isEnabledForUser('encryption')) {
return [];
}