diff options
author | Georg Ehrke <developer@georgehrke.com> | 2020-03-09 16:32:04 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-03-27 12:53:44 +0100 |
commit | 52ba75f6442ad326f5113cd3e89c4024118c4fcf (patch) | |
tree | 6398478fca4613d1faffa3341318fc93eea9a967 /remote.php | |
parent | 8648ee131a10a48df601346f7e8bdee7a7b40a9d (diff) | |
download | nextcloud-server-52ba75f6442ad326f5113cd3e89c4024118c4fcf.tar.gz nextcloud-server-52ba75f6442ad326f5113cd3e89c4024118c4fcf.zip |
Sabre/DAV 4.0: beforeMethod is now beforeMethod:*
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'remote.php')
-rw-r--r-- | remote.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.php b/remote.php index 7d20b4fbdf4..b1777e92f77 100644 --- a/remote.php +++ b/remote.php @@ -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: |