Sabre/DAV 4.0: beforeMethod is now beforeMethod:*

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
Georg Ehrke
2020-03-09 16:32:04 +01:00
committed by Roeland Jago Douma
parent 8648ee131a
commit 52ba75f644
13 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ function handleException($e) {
// we shall not log on RemoteException
$server->addPlugin(new ExceptionLoggerPlugin('webdav', \OC::$server->getLogger()));
}
$server->on('beforeMethod', function () use ($e) {
$server->on('beforeMethod:*', function () use ($e) {
if ($e instanceof RemoteException) {
switch ($e->getCode()) {
case 503: