fix(dav): remove unnecessary plugin getHTTPMethods

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
pull/52785/head
John Molakvoæ (skjnldsv) 2025-05-13 14:17:07 +07:00
parent 4495794a0b
commit b286bca485
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 0 additions and 14 deletions

@ -26,20 +26,6 @@ class ChecksumUpdatePlugin extends ServerPlugin {
return 'checksumupdate';
}
/** @return string[] */
public function getHTTPMethods($path): array {
$tree = $this->server->tree;
if ($tree->nodeExists($path)) {
$node = $tree->getNodeForPath($path);
if ($node instanceof File) {
return ['PATCH'];
}
}
return [];
}
/** @return string[] */
public function getFeatures(): array {
return ['nextcloud-checksum-update'];