From 37b827f0b2139ce668a4e394188f24283c14d643 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 13 Mar 2015 09:51:42 +0100 Subject: Order the providers alphabetically --- lib/private/previewmanager.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib') 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; } -- cgit v1.2.3