diff options
author | Individual IT Services <info@individual-it.net> | 2015-09-03 12:44:35 +0545 |
---|---|---|
committer | Individual IT Services <info@individual-it.net> | 2015-09-03 12:44:35 +0545 |
commit | cd0a5372ee70a4bd5abd953c62332370555405d8 (patch) | |
tree | a088c5b2cc2a20b8d321f3f77ecf2be838f96e12 /lib/base.php | |
parent | 310084cc25b63ce05b208a426d54e34a2790a6b4 (diff) | |
download | nextcloud-server-cd0a5372ee70a4bd5abd953c62332370555405d8.tar.gz nextcloud-server-cd0a5372ee70a4bd5abd953c62332370555405d8.zip |
reuse existing $systemConfig variable
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index 9cf0228bbd9..2852c1443c0 100644 --- a/lib/base.php +++ b/lib/base.php @@ -674,7 +674,7 @@ class OC { self::registerCacheHooks(); self::registerFilesystemHooks(); - if (\OC::$server->getSystemConfig()->getValue('enable_previews', true)) { + if ($systemConfig->getValue('enable_previews', true)) { self::registerPreviewHooks(); } self::registerShareHooks(); |