always call stripUserFilesPath(), we need to keep the Shared/ to find the correct owner of the file later
This commit is contained in:
parent
f10be4ea17
commit
5995b6996b
1 changed files with 2 additions and 10 deletions
|
@ -209,15 +209,7 @@ class Proxy extends \OC_FileProxy {
|
|||
$view = new \OC_FilesystemView( '/' );
|
||||
$util = new Util( $view, $userId );
|
||||
|
||||
if ( $util->isSharedPath( $path ) ) {
|
||||
|
||||
$relPath = $util->stripSharedFilePath( $path );
|
||||
|
||||
} else {
|
||||
|
||||
$relPath = $util->stripUserFilesPath( $path );
|
||||
|
||||
}
|
||||
$relPath = $util->stripUserFilesPath( $path );
|
||||
|
||||
|
||||
// TODO check for existing key file and reuse it if possible to avoid problems with versioning etc.
|
||||
|
|
Loading…
Reference in a new issue