Revert "Merge pull request #5742 from nextcloud/backport/5707/stable-3.9"
This reverts commit 5118bcfaba1595e52a1eabd30b4012b875bc1fde, reversing
changes made to d9603fc84cd81b44da085bd824321167c935125b.
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>