]> source.dussan.org Git - nextcloud-server.git/commit
Fix generated avatars and nophoto cache files 20145/head
authorJoas Schilling <coding@schilljs.com>
Tue, 24 Mar 2020 17:23:38 +0000 (18:23 +0100)
committerJoas Schilling <coding@schilljs.com>
Tue, 24 Mar 2020 17:23:38 +0000 (18:23 +0100)
commitf3a5bd6753f10dc511ee90a1f042477120e0da33
tree76dc8046ceb90a584e88d6076fc1e24be0d17962
parent3e338c907533dd77599b576ecfadd44b3d1a9855
Fix generated avatars and nophoto cache files

Since nextcloud/server#19493 newFile() by default does not write the file anymore.
Setting an empty string as content will make it write the file immediate,
without having to call putContent() afterwards.

Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/dav/lib/CardDAV/PhotoCache.php
lib/private/Avatar/UserAvatar.php