fix typo
This commit is contained in:
parent
3fd2df4088
commit
d4952bd9df
|
@ -17,7 +17,7 @@ namespace OC\Log;
|
||||||
class Rotate extends \OC\BackgroundJob\Job {
|
class Rotate extends \OC\BackgroundJob\Job {
|
||||||
private $max_log_size;
|
private $max_log_size;
|
||||||
public function run($logFile) {
|
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) {
|
if ($this->max_log_size) {
|
||||||
$filesize = @filesize($logFile);
|
$filesize = @filesize($logFile);
|
||||||
if ($filesize >= $this->max_log_size) {
|
if ($filesize >= $this->max_log_size) {
|
||||||
|
|
Loading…
Reference in New Issue