Remove dead code
Remove dead code

- Return was always an empty array
- Return was not used by the one place that called the method
- the continue can be removed as there is nothing else done inside the loop

Signed-off-by: Joas Schilling <ab43a7c9cb5b2380afc4ddf8b3e2583169b39a02@schilljs.com>

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