diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-09-03 13:46:08 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-09-03 13:46:08 +0200 |
commit | fd7b210654dfb2c310264fec70683cdd7682b3bb (patch) | |
tree | 7503ebdac7287656f05029c707869084418faccf /apps/files_sharing/lib/mountprovider.php | |
parent | 8684420d0a503f5c913343eca838b3a7dc903506 (diff) | |
download | nextcloud-server-fd7b210654dfb2c310264fec70683cdd7682b3bb.tar.gz nextcloud-server-fd7b210654dfb2c310264fec70683cdd7682b3bb.zip |
Delay setting up the filesystem for a share owner untill the share is used
Diffstat (limited to 'apps/files_sharing/lib/mountprovider.php')
-rw-r--r-- | apps/files_sharing/lib/mountprovider.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/files_sharing/lib/mountprovider.php b/apps/files_sharing/lib/mountprovider.php index 3f59fd131d0..14a79625993 100644 --- a/apps/files_sharing/lib/mountprovider.php +++ b/apps/files_sharing/lib/mountprovider.php @@ -66,12 +66,6 @@ class MountProvider implements IMountProvider { return $share['permissions'] > 0; }); $shares = array_map(function ($share) use ($user, $storageFactory) { - try { - Filesystem::initMountPoints($share['uid_owner']); - } catch(NoUserException $e) { - \OC::$server->getLogger()->warning('The user \'' . $share['uid_owner'] . '\' of share with ID \'' . $share['id'] . '\' can\'t be retrieved.', array('app' => 'files_sharing')); - return null; - } // for updating etags for the share owner when we make changes to this share. $ownerPropagator = $this->propagationManager->getChangePropagator($share['uid_owner']); |