summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-03-13 09:51:42 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2015-03-16 12:44:12 +0100
commit37b827f0b2139ce668a4e394188f24283c14d643 (patch)
treef790fcf14ccae1cb1b6ce289a23d4c0d4d676004 /lib
parent9c86574acfc3bd893e65572bdcbb831bf0a1530a (diff)
downloadnextcloud-server-37b827f0b2139ce668a4e394188f24283c14d643.tar.gz
nextcloud-server-37b827f0b2139ce668a4e394188f24283c14d643.zip
Order the providers alphabetically
Diffstat (limited to 'lib')
-rw-r--r--lib/private/previewmanager.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/private/previewmanager.php b/lib/private/previewmanager.php
index 59d832cfbd7..81fa1baad61 100644
--- a/lib/private/previewmanager.php
+++ b/lib/private/previewmanager.php
@@ -161,24 +161,24 @@ class PreviewManager implements IPreview {
*
* The following providers are enabled by default:
* - OC\Preview\Image
+ * - OC\Preview\MarkDown
* - OC\Preview\MP3
* - OC\Preview\TXT
- * - OC\Preview\MarkDown
*
* The following providers are disabled by default due to performance or privacy concerns:
+ * - OC\Preview\Font
+ * - OC\Preview\Illustrator
+ * - OC\Preview\Movie
* - OC\Preview\MSOfficeDoc
* - OC\Preview\MSOffice2003
* - OC\Preview\MSOffice2007
* - OC\Preview\OpenDocument
+ * - OC\Preview\PDF
+ * - OC\Preview\Photoshop
+ * - OC\Preview\Postscript
* - OC\Preview\StarOffice
* - OC\Preview\SVG
- * - OC\Preview\Movie
- * - OC\Preview\PDF
* - OC\Preview\TIFF
- * - OC\Preview\Illustrator
- * - OC\Preview\Postscript
- * - OC\Preview\Photoshop
- * - OC\Preview\Font
*
* @return array
*/
@@ -189,9 +189,9 @@ class PreviewManager implements IPreview {
$this->defaultProviders = $this->config->getSystemValue('enabledPreviewProviders', [
'OC\Preview\Image',
+ 'OC\Preview\MarkDown',
'OC\Preview\MP3',
'OC\Preview\TXT',
- 'OC\Preview\MarkDown',
]);
return $this->defaultProviders;
}