show share owner within shared folders as well
This commit is contained in:
parent
2b84f5e0b9
commit
179fbada32
1 changed files with 3 additions and 0 deletions
|
@ -135,6 +135,7 @@ class Shared_Cache extends Cache {
|
|||
return $files;
|
||||
} else {
|
||||
if ($cache = $this->getSourceCache($folder)) {
|
||||
$parent = $this->storage->getFile($folder);
|
||||
$sourceFolderContent = $cache->getFolderContents($this->files[$folder]);
|
||||
foreach ($sourceFolderContent as $key => $c) {
|
||||
$ownerPathParts = explode('/', \OC_Filesystem::normalizePath($c['path']));
|
||||
|
@ -144,6 +145,8 @@ class Shared_Cache extends Cache {
|
|||
$usersPath .= '/'.$part;
|
||||
}
|
||||
$sourceFolderContent[$key]['usersPath'] = $usersPath;
|
||||
$sourceFolderContent[$key]['uid_owner'] = $parent['uid_owner'];
|
||||
$sourceFolderContent[$key]['displayname_owner'] = $parent['uid_owner'];
|
||||
}
|
||||
|
||||
return $sourceFolderContent;
|
||||
|
|
Loading…
Reference in a new issue