summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh <josh.t.richards@gmail.com>2024-04-28 22:06:08 -0400
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-05-06 14:30:44 +0000
commit795353871d67d57daf01443cb5087999cdc11086 (patch)
tree64f8f2d32a2decbd5c66dd662e029dec82252b37
parent8fea5957b5d764af7842d6683a089bfd38b53f80 (diff)
downloadnextcloud-server-795353871d67d57daf01443cb5087999cdc11086.tar.gz
nextcloud-server-795353871d67d57daf01443cb5087999cdc11086.zip
fix(User\Manager): Avoid future collisions with updater/audit logs
Avoid future collisions for not yet created updater and audit log files (at least using default names). Signed-off-by: Josh <josh.t.richards@gmail.com>
-rw-r--r--lib/private/User/Manager.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/User/Manager.php b/lib/private/User/Manager.php
index 60059d5badd..730ab9f6743 100644
--- a/lib/private/User/Manager.php
+++ b/lib/private/User/Manager.php
@@ -744,6 +744,8 @@ class Manager extends PublicEmitter implements IUserManager {
'.ocdata',
'owncloud.log',
'nextcloud.log',
+ 'updater.log',
+ 'audit.log',
$appdata], true)) {
return false;
}