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 17:00:18 +01:00 committed by Arthur Schiwon
parent 31d06ea149
commit b4d497bbec
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class DavPlugin extends ServerPlugin {
public function initialize(Server $server) {
// before auth
$server->on('beforeMethod', [$this, 'beforeMethod'], 9);
$server->on('beforeMethod:*', [$this, 'beforeMethod'], 9);
$this->server = $server;
}