Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2021-05-19 16:46:01 +0300
committerdartcafe <github@dartcafe.de>2021-05-19 16:46:01 +0300
commit40929cba799944257e1980038afea6bd176b0c6c (patch)
treedc7f738bf16a2fc33c89e939013f1756a153d73e
parent7c77e7431478ac67be34eec6dd10325233a2f64e (diff)
typo
Signed-off-by: dartcafe <github@dartcafe.de>
-rw-r--r--lib/public/Log/RotationTrait.php2
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;