From cddcb5cafea14e7d5e7105606d88211de82d36a1 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 23 Mar 2020 01:25:23 -0700 Subject: [PATCH] same booleans as before --- weed/server/webdav_server.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/weed/server/webdav_server.go b/weed/server/webdav_server.go index fb0526b97..350d61721 100644 --- a/weed/server/webdav_server.go +++ b/weed/server/webdav_server.go @@ -244,14 +244,9 @@ func (fs *WebDavFileSystem) removeAll(ctx context.Context, fullFilePath string) return err } - fi, err := fs.stat(ctx, fullFilePath) - if err != nil { - return err - } - dir, name := util.FullPath(fullFilePath).DirAndName() - return filer_pb.Remove(fs, dir, name, true, true, true) + return filer_pb.Remove(fs, dir, name, true, false, false) }