Browse Source
fix: exclude \Sabre\DAVACL\Plugin from prop find monitoring
Fixes creating events with attendees on the same server.
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
pull/54485/head
Richard Steinmetz
4 months ago
No known key found for this signature in database
GPG Key ID: 27137D9E7D273FB2
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); |
|
|
$parentFn($eventName, $callBack, $priority); |
|
|
return; |
|
|
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); |
|
|
$callback = $this->getMonitoredCallback($callBack, $pluginName, $eventName); |
|
|
|
|
|
|
|
|
|