Exemplo n.º 1
0
 /**
  * @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);
 }
Exemplo n.º 2
0
 /**
  * @param \OC\Files\Storage\Shared $storage
  */
 public function __construct($storage)
 {
     parent::__construct($storage);
     $this->storage = $storage;
 }