diff --git a/lib/log/rotate.php b/lib/log/rotate.php index b620f0be15..bf23ad588b 100644 --- a/lib/log/rotate.php +++ b/lib/log/rotate.php @@ -17,7 +17,7 @@ namespace OC\Log; class Rotate extends \OC\BackgroundJob\Job { private $max_log_size; public function run($logFile) { - $this->max_log_size = OC_Config::getValue('log_rotate_size', false); + $this->max_log_size = \OC_Config::getValue('log_rotate_size', false); if ($this->max_log_size) { $filesize = @filesize($logFile); if ($filesize >= $this->max_log_size) {