Merge pull request #9665 from kobergj/AssimilateTrashCommand

Fix trash command
This commit is contained in:
kobergj
2024-07-22 13:44:24 +02:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
@@ -0,0 +1,5 @@
Enhancement: Fix trash command
The `ocis trash purge-empty-dirs` command should work on any storage provider, not just `storage/users`.
https://github.com/owncloud/ocis/pull/9665
+1 -1
View File
@@ -9,7 +9,7 @@ import (
const (
// _trashGlobPattern is the glob pattern to find all trash items
_trashGlobPattern = "storage/users/spaces/*/*/trash/*/*/*/*"
_trashGlobPattern = "spaces/*/*/trash/*/*/*/*"
)
// PurgeTrashEmptyPaths purges empty paths in the trash