remove anonymous option handling

this was moved to core

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2018-07-18 15:14:43 +02:00
parent e123a8b984
commit b7cab9d740
1 changed files with 0 additions and 10 deletions

View File

@ -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;
}
}
}