Fix undefined index error

This commit is contained in:
Robin Appelman 2014-06-13 12:47:47 +02:00 committed by Bjoern Schiessle
parent 3bf7b54cd5
commit 455fbafb48
1 changed files with 0 additions and 6 deletions

View File

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