summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2021-05-19 15:46:01 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-05-21 09:42:31 +0000
commit36acbd9efb8a214f11bcbb6ef44d395d9c614481 (patch)
treecec40a1ce158d7c551ea7f3a0142228cb4f8621e /lib
parent6e499ef0b23f881bfd439453834e74d60cab0096 (diff)
downloadnextcloud-server-36acbd9efb8a214f11bcbb6ef44d395d9c614481.tar.gz
nextcloud-server-36acbd9efb8a214f11bcbb6ef44d395d9c614481.zip
typo
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'lib')
-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;