diff options
author | Individual IT Services <info@individual-it.net> | 2015-09-04 14:03:56 +0545 |
---|---|---|
committer | Individual IT Services <info@individual-it.net> | 2015-09-04 14:03:56 +0545 |
commit | 3bc287ff6335842854c3d4058aad870654b50ad4 (patch) | |
tree | 5915fd6d5c76fc6a51fdedd31f813c6b09835d6d /lib/base.php | |
parent | 4100b151cc0a4e131a3eab3fbb7cd2b604f475e6 (diff) | |
parent | cd0a5372ee70a4bd5abd953c62332370555405d8 (diff) | |
download | nextcloud-server-3bc287ff6335842854c3d4058aad870654b50ad4.tar.gz nextcloud-server-3bc287ff6335842854c3d4058aad870654b50ad4.zip |
Merge pull request #18794 from individual-it/reuse_systemConfig
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 077ecfa4666..63aad4518ab 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(); |