summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-05-15 08:48:12 +0200
committerLukas Reschke <lukas@owncloud.com>2015-05-15 08:48:12 +0200
commit8ae8600b1fdbb429ebe6e3903f000d802edd4ec6 (patch)
tree88f46de534adb9e5e8599c00c2c5fe82dc592a20 /lib
parent49c4ee98b4b5f668c881f49f82c26bf48c21e127 (diff)
parent745c3c64faf329f5a220ef967dd0faa0013b0cdd (diff)
downloadnextcloud-server-8ae8600b1fdbb429ebe6e3903f000d802edd4ec6.tar.gz
nextcloud-server-8ae8600b1fdbb429ebe6e3903f000d802edd4ec6.zip
Merge pull request #16342 from owncloud/fix_16338
fix preview hooks, enable_previews default is true
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index d1ff9fe799b..b7f19c96406 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -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();