summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-06-02 09:11:33 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-06-02 09:11:33 +0200
commitcf2c599218f01c1351cee2e4e48ee4b430f55287 (patch)
tree67daea46a2252a53c0da05d9de59c75c8e90996e /lib/base.php
parentbaca5c60c010cb26d3845ad3863fe59e16a0a042 (diff)
parente5a91fc185c4c992469e19d37c4ad3691ed1d3ae (diff)
downloadnextcloud-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.php14
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()) {