diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-02-27 16:04:17 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-03-17 16:03:24 +0100 |
commit | 05c4848954e3b2fed0f02f043dbd67777f4f6c7d (patch) | |
tree | 8cb6b286c25a84542da44b5995ab1bd2a49d1dad /apps/files_sharing/api/server2server.php | |
parent | d96b97043b2fa7ba4d676c1d7b44f4aa5e58c8ee (diff) | |
download | nextcloud-server-05c4848954e3b2fed0f02f043dbd67777f4f6c7d.tar.gz nextcloud-server-05c4848954e3b2fed0f02f043dbd67777f4f6c7d.zip |
Correctly get the unique mountpoint name when mounting the share
Previously the mount name was checked for uniqueness prior to inserting the
share. This caused problems, when two shares with the same name where done
or folder, mount point, local share with the same name was done, between
sending and accepting of the remote share
Diffstat (limited to 'apps/files_sharing/api/server2server.php')
-rw-r--r-- | apps/files_sharing/api/server2server.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files_sharing/api/server2server.php b/apps/files_sharing/api/server2server.php index f2f7561598f..89a0262481c 100644 --- a/apps/files_sharing/api/server2server.php +++ b/apps/files_sharing/api/server2server.php @@ -64,8 +64,6 @@ class Server2Server { $shareWith ); - $name = \OCP\Files::buildNotExistingFileName('/', $name); - try { $externalManager->addShare($remote, $token, '', $name, $owner, false, $shareWith, $remoteId); |