aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2020-03-25 11:14:13 +0100
committerGitHub <noreply@github.com>2020-03-25 11:14:13 +0100
commitba14c41a1ca39624040282ab9082fff7aa09bff6 (patch)
tree9d533b49a79ea1efee7efb4af2055bc8e7791a89 /lib/private
parent3427653676e7ef985778794df27a6fd5e2bdaa11 (diff)
parentf3a5bd6753f10dc511ee90a1f042477120e0da33 (diff)
downloadnextcloud-server-ba14c41a1ca39624040282ab9082fff7aa09bff6.tar.gz
nextcloud-server-ba14c41a1ca39624040282ab9082fff7aa09bff6.zip
Merge pull request #20145 from nextcloud/bugfix/noid/generated-avatars-and-nophoto-cache
Fix generated avatars and nophoto cache files
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Avatar/UserAvatar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Avatar/UserAvatar.php b/lib/private/Avatar/UserAvatar.php
index fb434fc6947..485e53c249d 100644
--- a/lib/private/Avatar/UserAvatar.php
+++ b/lib/private/Avatar/UserAvatar.php
@@ -252,7 +252,7 @@ class UserAvatar extends Avatar {
$avatar->putContent($data);
$ext = 'png';
- $this->folder->newFile('generated');
+ $this->folder->newFile('generated', '');
$this->config->setUserValue($this->user->getUID(), 'avatar', 'generated', 'true');
}