mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +01:00
- The loop is supposed to delete the files first and then the directories. - getPathInfo returns a SplFileInfo object for the parent (the folder in our case). - A non-empty directory cannot be deleted. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>