Sabre/DAV 4.0: beforeMethod is now beforeMethod:*
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
committed by
Roeland Jago Douma
parent
8648ee131a
commit
52ba75f644
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user