Merge pull request #18794 from individual-it/reuse_systemConfig

reuse existing $systemConfig variable
This commit is contained in:
Individual IT Services 2015-09-04 14:03:56 +05:45
commit 3bc287ff63
1 changed files with 1 additions and 1 deletions

View File

@ -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();