remove hard-coded shared folder
This commit is contained in:
parent
7ef8f6d352
commit
b312d38d38
|
@ -223,7 +223,7 @@ class Share extends \OC\Share\Constants {
|
||||||
} else {
|
} else {
|
||||||
while ($row = $result->fetchRow()) {
|
while ($row = $result->fetchRow()) {
|
||||||
foreach ($fileTargets[$row['fileid']] as $uid => $shareData) {
|
foreach ($fileTargets[$row['fileid']] as $uid => $shareData) {
|
||||||
$sharedPath = '/Shared' . $shareData['file_target'];
|
$sharedPath = $shareData['file_target'];
|
||||||
$sharedPath .= substr($path, strlen($row['path']) -5);
|
$sharedPath .= substr($path, strlen($row['path']) -5);
|
||||||
$sharePaths[$uid] = $sharedPath;
|
$sharePaths[$uid] = $sharedPath;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue