Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix generated avatars and nophoto cache files #20145

Merged
merged 1 commit into from
Mar 25, 2020

Conversation

nickvergessen
Copy link
Member

Since #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.

Note

This was a very drastic change which is not easily noticable with quick testing (especially as most people mock away filesystem stuff in their unit tests). Should at least add it to the release notes!

Since #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 <[email protected]>
@blizzz blizzz merged commit ba14c41 into master Mar 25, 2020
@blizzz blizzz deleted the bugfix/noid/generated-avatars-and-nophoto-cache branch March 25, 2020 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants