Revert "task: #3554579 Optimize database writes when re-saving a pending revision as the default one"
This reverts commit 1fe6aeaf.
Closes #3605262