we are sharing the same file again if item_source of the already shared file and the newly shared file is the same. Therefore we can use the same target name
This commit is contained in:
parent
db954f5aba
commit
431d92e7b2
|
@ -1014,6 +1014,9 @@ class Share {
|
|||
continue;
|
||||
}
|
||||
}
|
||||
if ($item['uid_owner'] == $uidOwner && $item['item_source'] == \OC_FileCache::getId($itemSource) ) {
|
||||
return $target;
|
||||
}
|
||||
}
|
||||
if (!isset($exclude)) {
|
||||
$exclude = array();
|
||||
|
|
Loading…
Reference in New Issue