Skip to content

Commit 8dc30e4

Browse files
authored
Merge pull request #54485 from nextcloud/fix/caldav-acl
fix: exclude \Sabre\DAVACL\Plugin from prop find monitoring
2 parents 6d5dd4b + 51f0aa5 commit 8dc30e4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ private function monitorPropfindQueries(
8686
$parentFn($eventName, $callBack, $priority);
8787
return;
8888
}
89+
// The \Sabre\DAVACL\Plugin needs to excluded as it relies on removeListener()
90+
if ($pluginName === \Sabre\DAVACL\Plugin::class) {
91+
$parentFn($eventName, $callBack, $priority);
92+
return;
93+
}
8994

9095
$callback = $this->getMonitoredCallback($callBack, $pluginName, $eventName);
9196

0 commit comments

Comments
 (0)