fix preview hooks, enable_previews default is true
This commit is contained in:
parent
4789e87a53
commit
745c3c64fa
|
@ -654,7 +654,7 @@ class OC {
|
||||||
|
|
||||||
self::registerCacheHooks();
|
self::registerCacheHooks();
|
||||||
self::registerFilesystemHooks();
|
self::registerFilesystemHooks();
|
||||||
if (\OC::$server->getSystemConfig()->getValue('enable_previews', false)) {
|
if (\OC::$server->getSystemConfig()->getValue('enable_previews', true)) {
|
||||||
self::registerPreviewHooks();
|
self::registerPreviewHooks();
|
||||||
}
|
}
|
||||||
self::registerShareHooks();
|
self::registerShareHooks();
|
||||||
|
|
Loading…
Reference in New Issue