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 /apps/dav/lib/Files/Sharing/FilesDropPlugin.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 'apps/dav/lib/Files/Sharing/FilesDropPlugin.php')
-rw-r--r-- | apps/dav/lib/Files/Sharing/FilesDropPlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Files/Sharing/FilesDropPlugin.php b/apps/dav/lib/Files/Sharing/FilesDropPlugin.php index 7a34ef95079..4542d0b52d0 100644 --- a/apps/dav/lib/Files/Sharing/FilesDropPlugin.php +++ b/apps/dav/lib/Files/Sharing/FilesDropPlugin.php @@ -61,7 +61,7 @@ class FilesDropPlugin extends ServerPlugin { * @throws MethodNotAllowed */ public function initialize(\Sabre\DAV\Server $server) { - $server->on('beforeMethod', [$this, 'beforeMethod'], 999); + $server->on('beforeMethod:*', [$this, 'beforeMethod'], 999); $this->enabled = false; } |