mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
parent
67231ed9a7
commit
d9db959331
1 changed files with 0 additions and 6 deletions
|
|
@ -772,12 +772,6 @@ class Preview {
|
|||
throw new NotFoundException('File not found.');
|
||||
}
|
||||
|
||||
if ($cachedPath = $this->isCached($this->info->getId())) {
|
||||
header('Content-Type: ' . $this->info->getMimetype());
|
||||
$this->userView->readfile($cachedPath);
|
||||
return;
|
||||
}
|
||||
|
||||
if (is_null($this->preview)) {
|
||||
$this->getPreview();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue