summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-10-23 21:26:24 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-10-24 08:28:06 +0200
commite2139d4b56e6daf1f45c72c1dc0c4ace48d7e9c5 (patch)
treeb945388c39a81d26f64cf6586b1a0a488ec4fa57 /lib/base.php
parent18601903052e389d7dbc25ff2603eb7091415ca0 (diff)
downloadnextcloud-server-e2139d4b56e6daf1f45c72c1dc0c4ace48d7e9c5.tar.gz
nextcloud-server-e2139d4b56e6daf1f45c72c1dc0c4ace48d7e9c5.zip
Add logrote as a default background job
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/base.php b/lib/base.php
index c76d83cd220..b9862e73194 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -730,7 +730,6 @@ class OC {
self::registerCacheHooks();
self::registerFilesystemHooks();
self::registerShareHooks();
- self::registerLogRotate();
self::registerEncryptionWrapper();
self::registerEncryptionHooks();
self::registerAccountHooks();
@@ -863,18 +862,6 @@ class OC {
}
/**
- * register hooks for the cache
- */
- public static function registerLogRotate() {
- $systemConfig = \OC::$server->getSystemConfig();
- if ($systemConfig->getValue('installed', false) && $systemConfig->getValue('log_rotate_size', false) && !self::checkUpgrade(false)) {
- //don't try to do this before we are properly setup
- //use custom logfile path if defined, otherwise use default of nextcloud.log in data directory
- \OC::$server->getJobList()->add('OC\Log\Rotate');
- }
- }
-
- /**
* register hooks for the filesystem
*/
public static function registerFilesystemHooks() {