summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2015-05-13 19:59:41 +0200
committerGeorg Ehrke <developer@georgehrke.com>2015-05-13 19:59:41 +0200
commit745c3c64faf329f5a220ef967dd0faa0013b0cdd (patch)
treef978206494a6de4920ae88678f56a2359239a7a4 /lib/base.php
parent4789e87a5378776738706b48d0db1cf1d989709a (diff)
downloadnextcloud-server-745c3c64faf329f5a220ef967dd0faa0013b0cdd.tar.gz
nextcloud-server-745c3c64faf329f5a220ef967dd0faa0013b0cdd.zip
fix preview hooks, enable_previews default is true
Diffstat (limited to 'lib/base.php')
-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();