Merge pull request #16342 from owncloud/fix_16338

fix preview hooks, enable_previews default is true
This commit is contained in:
Lukas Reschke 2015-05-15 08:48:12 +02:00
commit 8ae8600b1f

View file

@ -654,7 +654,7 @@ class OC {
self::registerCacheHooks();
self::registerFilesystemHooks();
if (\OC::$server->getSystemConfig()->getValue('enable_previews', false)) {
if (\OC::$server->getSystemConfig()->getValue('enable_previews', true)) {
self::registerPreviewHooks();
}
self::registerShareHooks();