Skip to content
Snippets Groups Projects
Commit 455fbafb authored by Robin Appelman's avatar Robin Appelman Committed by Bjoern Schiessle
Browse files

Fix undefined index error

parent 3bf7b54c
Branches
No related tags found
No related merge requests found
......@@ -33,15 +33,9 @@ class Storage extends DAV implements ISharedStorage {
*/
private $token;
/**
* @var \OCA\Files_Sharing\External\Manager
*/
private $manager;
public function __construct($options) {
$this->remote = $options['remote'];
$this->remoteUser = $options['owner'];
$this->manager = $options['manager'];
list($protocol, $remote) = explode('://', $this->remote);
list($host, $root) = explode('/', $remote);
$secure = $protocol === 'https';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment