diff options
author | Björn Schießle <schiessle@owncloud.com> | 2012-11-26 15:09:02 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2012-11-26 15:09:02 +0100 |
commit | 1b4f24915742f9aaaf03041a972c89be5973c9f2 (patch) | |
tree | 4a7dcd8bd6fd6b33a842087d8102144a6e1a3c5c /lib | |
parent | 41bfd5e1f31a70a2a9f0079a15bf24f4844f06c5 (diff) | |
download | nextcloud-server-1b4f24915742f9aaaf03041a972c89be5973c9f2.tar.gz nextcloud-server-1b4f24915742f9aaaf03041a972c89be5973c9f2.zip |
make sure to add the right user as owner of a file to the file cache table
Diffstat (limited to 'lib')
-rw-r--r-- | lib/filecache.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/filecache.php b/lib/filecache.php index e7b5374e4a9..6a1b1f384ad 100644 --- a/lib/filecache.php +++ b/lib/filecache.php @@ -537,7 +537,6 @@ class OC_FileCache{ $fullPath = OC_Filesystem::normalizePath($root.'/'.$path); $sharedPos = strpos($fullPath, '/Shared/'); if ( $sharedPos !== false && ($source = OC_Files_Sharing_Util::getSourcePath(substr($fullPath, $sharedPos+8))) ) { - $source = OC_Files_Sharing_Util::getSourcePath(str_replace('/Shared/', '', $path)); $parts = explode('/', $source, 4); $root = '/'.$parts[1].'/files'; $path = '/'.$parts[3]; |