Merge pull request #54485 from nextcloud/fix/caldav-acl

fix: exclude \Sabre\DAVACL\Plugin from prop find monitoring
This commit is contained in:
Richard Steinmetz 2025-08-18 18:05:02 +02:00 committed by GitHub
commit 8dc30e4f65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -86,6 +86,11 @@ class Server extends \Sabre\DAV\Server {
$parentFn($eventName, $callBack, $priority);
return;
}
// The \Sabre\DAVACL\Plugin needs to excluded as it relies on removeListener()
if ($pluginName === \Sabre\DAVACL\Plugin::class) {
$parentFn($eventName, $callBack, $priority);
return;
}
$callback = $this->getMonitoredCallback($callBack, $pluginName, $eventName);