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/PublicLinkCheckPlugin.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/PublicLinkCheckPlugin.php')
-rw-r--r-- | apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php b/apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php index 84401196b1a..4c45a299027 100644 --- a/apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php +++ b/apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php @@ -52,7 +52,7 @@ class PublicLinkCheckPlugin extends ServerPlugin { * @return void */ public function initialize(\Sabre\DAV\Server $server) { - $server->on('beforeMethod', [$this, 'beforeMethod']); + $server->on('beforeMethod:*', [$this, 'beforeMethod']); } public function beforeMethod(RequestInterface $request, ResponseInterface $response){ |