Fix undefined index error
This commit is contained in:
parent
3bf7b54cd5
commit
455fbafb48
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue