diff options
author | Robin Appelman <robin@icewind.nl> | 2018-07-18 16:14:43 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2018-11-20 17:12:51 +0300 |
commit | b7cab9d7406b170aea446184a25057ab5627a36a (patch) | |
tree | 6d55b26a72053b71ce6e0a53b4b1d688e4169ce5 /lib | |
parent | e123a8b984931fc07fe52b53710b05314f90a125 (diff) |
remove anonymous option handling
this was moved to core
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/DavPlugin.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/DavPlugin.php b/lib/DavPlugin.php index 00a98d90..b794b85b 100644 --- a/lib/DavPlugin.php +++ b/lib/DavPlugin.php @@ -63,15 +63,5 @@ class DavPlugin extends ServerPlugin { $this->session->set('user_saml.samlUserData', $this->auth); } } - - if ($request->getMethod() === 'OPTIONS' && $request->getPath() === '') { - /** @var CorePlugin $corePlugin */ - $corePlugin = $this->server->getPlugin('core'); - // setup a fake tree for anonymous access - $this->server->tree = new Tree(new Directory('')); - $corePlugin->httpOptions($request, $response); - $this->server->sapi->sendResponse($response); - return false; - } } } |