diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-28 12:00:16 +0100 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-28 12:00:16 +0100 |
commit | bf657289f5f2d6415babb2cd9f9ba5e8d43a275d (patch) | |
tree | 861cffe3c1f8d93bfaa5bd54d27992d79fbecce1 /apps | |
parent | f6e04c9cf90234a769bba852cd7cbdc044ab8cf9 (diff) | |
download | nextcloud-server-bf657289f5f2d6415babb2cd9f9ba5e8d43a275d.tar.gz nextcloud-server-bf657289f5f2d6415babb2cd9f9ba5e8d43a275d.zip |
Share Updater doesn't need to call the cache updaters correctFolder method, this method always expect a path relativ to the current user
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/updater.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/files_sharing/lib/updater.php b/apps/files_sharing/lib/updater.php index 1e629f3414f..9d08f278923 100644 --- a/apps/files_sharing/lib/updater.php +++ b/apps/files_sharing/lib/updater.php @@ -49,13 +49,6 @@ class Shared_Updater { } $users = $reshareUsers; } - // Correct folders of shared file owner - $target = substr($target, 8); - if ($uidOwner !== $uid && $source = \OC_Share_Backend_File::getSource($target)) { - \OC\Files\Filesystem::initMountPoints($uidOwner); - $source = '/'.$uidOwner.'/'.$source['path']; - \OC\Files\Cache\Updater::correctFolder($source, $info['mtime']); - } } } |