remove hard-coded shared folder

This commit is contained in:
Bjoern Schiessle 2014-04-23 12:59:22 +02:00
parent 7ef8f6d352
commit b312d38d38
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ class Share extends \OC\Share\Constants {
} else {
while ($row = $result->fetchRow()) {
foreach ($fileTargets[$row['fileid']] as $uid => $shareData) {
$sharedPath = '/Shared' . $shareData['file_target'];
$sharedPath = $shareData['file_target'];
$sharedPath .= substr($path, strlen($row['path']) -5);
$sharePaths[$uid] = $sharedPath;
}