From 05c4848954e3b2fed0f02f043dbd67777f4f6c7d Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 27 Feb 2015 16:04:17 +0100 Subject: 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 --- apps/files_sharing/ajax/external.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'apps/files_sharing/ajax') diff --git a/apps/files_sharing/ajax/external.php b/apps/files_sharing/ajax/external.php index 30c1f38801e..153285e11ff 100644 --- a/apps/files_sharing/ajax/external.php +++ b/apps/files_sharing/ajax/external.php @@ -38,8 +38,6 @@ $externalManager = new \OCA\Files_Sharing\External\Manager( \OC::$server->getUserSession()->getUser()->getUID() ); -$name = OCP\Files::buildNotExistingFileName('/', $name); - // check for ssl cert if (substr($remote, 0, 5) === 'https' and !OC_Util::getUrlContent($remote)) { \OCP\JSON::error(array('data' => array('message' => $l->t('Invalid or untrusted SSL certificate')))); -- cgit v1.2.3