Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Avoid no-op media deletes #2637

Merged

Conversation

spantaleev
Copy link
Contributor

If there are no media entries to delete,
avoid creating transactions, prepared statements and unnecessary log entries.

Signed-off-by: Slavi Pantaleev [email protected]

If there are no media entries to delete,
avoid creating transactions, prepared statements
and unnecessary log entries.

Signed-off-by: Slavi Pantaleev <[email protected]>
@matrixbot
Copy link
Member

Can one of the admins verify this patch?

1 similar comment
@matrixbot
Copy link
Member

Can one of the admins verify this patch?

@erikjohnston
Copy link
Member

@matrixbot ok to test

This looks, great, thanks!

@erikjohnston erikjohnston merged commit 167eb01 into matrix-org:develop Nov 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants