diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-06-02 09:11:33 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-06-02 09:11:33 +0200 |
commit | cf2c599218f01c1351cee2e4e48ee4b430f55287 (patch) | |
tree | 67daea46a2252a53c0da05d9de59c75c8e90996e /lib/base.php | |
parent | baca5c60c010cb26d3845ad3863fe59e16a0a042 (diff) | |
parent | e5a91fc185c4c992469e19d37c4ad3691ed1d3ae (diff) | |
download | nextcloud-server-cf2c599218f01c1351cee2e4e48ee4b430f55287.tar.gz nextcloud-server-cf2c599218f01c1351cee2e4e48ee4b430f55287.zip |
Merge pull request #16200 from owncloud/kill-globalfilecache
Drop file caching
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/base.php b/lib/base.php index 09159dc22aa..77b0a89a90b 100644 --- a/lib/base.php +++ b/lib/base.php @@ -652,7 +652,6 @@ class OC { OC_User::setupBackends(); } - self::registerCacheHooks(); self::registerFilesystemHooks(); if (\OC::$server->getSystemConfig()->getValue('enable_previews', true)) { self::registerPreviewHooks(); @@ -737,19 +736,6 @@ class OC { /** * register hooks for the cache */ - public static function registerCacheHooks() { - if (\OC::$server->getSystemConfig()->getValue('installed', false) && !\OCP\Util::needUpgrade()) { //don't try to do this before we are properly setup - \OCP\BackgroundJob::registerJob('OC\Cache\FileGlobalGC'); - - // NOTE: This will be replaced to use OCP - $userSession = \OC_User::getUserSession(); - $userSession->listen('postLogin', '\OC\Cache\File', 'loginListener'); - } - } - - /** - * register hooks for the cache - */ public static function registerLogRotate() { $systemConfig = \OC::$server->getSystemConfig(); if ($systemConfig->getValue('installed', false) && $systemConfig->getValue('log_rotate_size', false) && !\OCP\Util::needUpgrade()) { |