diff options
author | dartcafe <github@dartcafe.de> | 2021-05-19 15:46:01 +0200 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-05-19 15:46:01 +0200 |
commit | 40929cba799944257e1980038afea6bd176b0c6c (patch) | |
tree | dc7f738bf16a2fc33c89e939013f1756a153d73e /lib/public/Log | |
parent | 7c77e7431478ac67be34eec6dd10325233a2f64e (diff) | |
download | nextcloud-server-40929cba799944257e1980038afea6bd176b0c6c.tar.gz nextcloud-server-40929cba799944257e1980038afea6bd176b0c6c.zip |
typo
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'lib/public/Log')
-rw-r--r-- | lib/public/Log/RotationTrait.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Log/RotationTrait.php b/lib/public/Log/RotationTrait.php index 6c6ea955f03..9766c1228b3 100644 --- a/lib/public/Log/RotationTrait.php +++ b/lib/public/Log/RotationTrait.php @@ -58,7 +58,7 @@ trait RotationTrait { * @since 14.0.0 */ protected function shouldRotateBySize():bool { - if ((int)$this->maxSize > 0 && file_exist($this->filePath)) { + if ((int)$this->maxSize > 0 && file_exists($this->filePath)) { $filesize = @filesize($this->filePath); if ($filesize >= (int)$this->maxSize) { return true; |