remove old dav path for public share

This commit is contained in:
Sabin
2024-11-11 14:28:23 +05:45
parent a3a5789dc6
commit b5d5afcd5c
21 changed files with 210 additions and 898 deletions

View File

@@ -872,11 +872,6 @@ class WebDavHelper {
return self::prefixRemotePhp("dav/trash-bin/$userOrItemIdOrSpaceIdOrToken");
}
if ($davPathVersion === self::DAV_VERSION_OLD) {
if ($type === "public-files") {
// TODO: cleanup
// this endpoint does not exist
return self::prefixRemotePhp("public.php/webdav");
}
return self::prefixRemotePhp("webdav");
} elseif ($davPathVersion === self::DAV_VERSION_NEW) {
if ($type === "files") {