/** * @param \OCA\Files_Sharing\External\Storage $storage * @param string $remote * @param string $remoteUser */ public function __construct($storage, $remote, $remoteUser) { $this->storage = $storage; list(, $remote) = explode('://', $remote, 2); $this->remote = $remote; $this->remoteUser = $remoteUser; parent::__construct($storage); }
/** * @param \OC\Files\Storage\Shared $storage */ public function __construct($storage) { parent::__construct($storage); $this->storage = $storage; }