aboutsummaryrefslogtreecommitdiffstats
path: root/lib/composer/autoload.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-07-22 15:30:13 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-08-03 10:16:28 +0200
commit2404f6a5a722d5e97481e025b2869dd899228390 (patch)
tree1e70748cc143971c67be5375c17327b6506b1ff0 /lib/composer/autoload.php
parent0c6352e0955cb2b47496655f275ee06db2298a52 (diff)
downloadnextcloud-server-2404f6a5a722d5e97481e025b2869dd899228390.tar.gz
nextcloud-server-2404f6a5a722d5e97481e025b2869dd899228390.zip
Make share target consistent when grouping group share with user share
In some situations, a group share is created before a user share, and the recipient renamed the received share before the latter is created. In this situation, the "file_target" was already modified and the second created share must align to the already renamed share. To achieve this, the MountProvider now groups only by "item_source" value and sorts by share time. This makes it so that the least recent share is selected as super-share and its "file_target" value is then adjusted in all grouped shares. This fixes the issue where this situation would have different "file_target" values resulting in two shared folders appearing instead of one.
Diffstat (limited to 'lib/composer/autoload.php')
0 files changed, 0 insertions, 0 deletions