Generate a unique name
This commit is contained in:
parent
e6f3850890
commit
43c56fcd07
|
@ -22,6 +22,8 @@ $externalManager = new \OCA\Files_Sharing\External\Manager(
|
|||
\OC::$server->getUserSession()
|
||||
);
|
||||
|
||||
$name = OCP\Files::buildNotExistingFileName('/', $name);
|
||||
|
||||
$mount = $externalManager->addShare($remote, $token, $password, $name, $owner);
|
||||
/**
|
||||
* @var \OCA\Files_Sharing\External\Storage $storage
|
||||
|
|
Loading…
Reference in New Issue