Browse Source

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

fix: exclude \Sabre\DAVACL\Plugin from prop find monitoring
pull/54494/head
Richard Steinmetz 4 months ago
committed by GitHub
parent
commit
8dc30e4f65
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 5
      apps/dav/lib/Connector/Sabre/Server.php

5
apps/dav/lib/Connector/Sabre/Server.php

@ -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);

Loading…
Cancel
Save