mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #55658 from nextcloud/bug/noid/disable-mp3-previews-by-default
fix: disable mp3 preview provider
This commit is contained in:
commit
2cb2ffe608
1 changed files with 8 additions and 9 deletions
|
|
@ -240,29 +240,29 @@ class PreviewManager implements IPreview {
|
|||
* List of enabled default providers
|
||||
*
|
||||
* The following providers are enabled by default:
|
||||
* - OC\Preview\PNG
|
||||
* - OC\Preview\JPEG
|
||||
* - OC\Preview\GIF
|
||||
* - OC\Preview\BMP
|
||||
* - OC\Preview\XBitmap
|
||||
* - OC\Preview\GIF
|
||||
* - OC\Preview\JPEG
|
||||
* - OC\Preview\MarkDown
|
||||
* - OC\Preview\MP3
|
||||
* - OC\Preview\PNG
|
||||
* - OC\Preview\TXT
|
||||
* - OC\Preview\XBitmap
|
||||
*
|
||||
* The following providers are disabled by default due to performance or privacy concerns:
|
||||
* - OC\Preview\Font
|
||||
* - OC\Preview\HEIC
|
||||
* - OC\Preview\Illustrator
|
||||
* - OC\Preview\Movie
|
||||
* - OC\Preview\MSOfficeDoc
|
||||
* - OC\Preview\MP3
|
||||
* - OC\Preview\MSOffice2003
|
||||
* - OC\Preview\MSOffice2007
|
||||
* - OC\Preview\MSOfficeDoc
|
||||
* - OC\Preview\Movie
|
||||
* - OC\Preview\OpenDocument
|
||||
* - OC\Preview\PDF
|
||||
* - OC\Preview\Photoshop
|
||||
* - OC\Preview\Postscript
|
||||
* - OC\Preview\StarOffice
|
||||
* - OC\Preview\SVG
|
||||
* - OC\Preview\StarOffice
|
||||
* - OC\Preview\TIFF
|
||||
*
|
||||
* @return list<class-string<IProviderV2>>
|
||||
|
|
@ -284,7 +284,6 @@ class PreviewManager implements IPreview {
|
|||
|
||||
$this->defaultProviders = $this->config->getSystemValue('enabledPreviewProviders', array_merge([
|
||||
Preview\MarkDown::class,
|
||||
Preview\MP3::class,
|
||||
Preview\TXT::class,
|
||||
Preview\OpenDocument::class,
|
||||
], $imageProviders));
|
||||
|
|
|
|||
Loading…
Reference in a new issue