Simpler version as proposed by @artonage
Simpler version as proposed by @artonage

Co-authored-by: Louis <c8275b42af9baf49c5096b79c9de264d746454a9@users.noreply.github.com>
Signed-off-by: Micke Nordin <3eef87363e2ffb31bf490b2dafc2c3c9f7a25662@sunet.se>

nextcloud/server,nextcloud/server,nextcloud/server,nextcloud/server