mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
perf: Skip direct download url
Signed-off-by: Julius Knorr <jus@bitgrid.net>
This commit is contained in:
parent
4624457877
commit
1bf0826288
1 changed files with 1 additions and 0 deletions
|
|
@ -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 [];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue