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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
5 additions and
0 deletions
-
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); |
|
|
|
|
|
|
|
|