fix(ocis): fix trash command
Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user