diff options
author | Joas Schilling <coding@schilljs.com> | 2020-03-24 18:23:38 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-03-24 18:23:38 +0100 |
commit | f3a5bd6753f10dc511ee90a1f042477120e0da33 (patch) | |
tree | 76dc8046ceb90a584e88d6076fc1e24be0d17962 /apps/files/lib/Controller/DirectEditingController.php | |
parent | 3e338c907533dd77599b576ecfadd44b3d1a9855 (diff) | |
download | nextcloud-server-f3a5bd6753f10dc511ee90a1f042477120e0da33.tar.gz nextcloud-server-f3a5bd6753f10dc511ee90a1f042477120e0da33.zip |
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>
Diffstat (limited to 'apps/files/lib/Controller/DirectEditingController.php')
0 files changed, 0 insertions, 0 deletions