File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1762,7 +1762,6 @@ private function searchCommon($method, $args) {
17621762 if (substr ($ mountPoint . $ result ['path ' ], 0 , $ rootLength + 1 ) === $ this ->fakeRoot . '/ ' ) {
17631763 $ internalPath = $ result ['path ' ];
17641764 $ path = $ mountPoint . $ result ['path ' ];
1765- $ result ['path ' ] = substr ($ mountPoint . $ result ['path ' ], $ rootLength );
17661765 $ ownerId = $ storage ->getOwner ($ internalPath );
17671766 if ($ ownerId !== false ) {
17681767 $ owner = $ userManager ->get ($ ownerId );
@@ -1785,7 +1784,6 @@ private function searchCommon($method, $args) {
17851784 if ($ results ) {
17861785 foreach ($ results as $ result ) {
17871786 $ internalPath = $ result ['path ' ];
1788- $ result ['path ' ] = rtrim ($ relativeMountPoint . $ result ['path ' ], '/ ' );
17891787 $ path = rtrim ($ mountPoint . $ internalPath , '/ ' );
17901788 $ ownerId = $ storage ->getOwner ($ internalPath );
17911789 if ($ ownerId !== false ) {
You can’t perform that action at this time.
0 commit comments