Fix undefined index error

remotes/origin/ldap_group_count
Robin Appelman 12 years ago committed by Bjoern Schiessle
parent 3bf7b54cd5
commit 455fbafb48
  1. 6
      apps/files_sharing/lib/external/storage.php

@ -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…
Cancel
Save