diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-29 15:08:12 +0100 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-29 15:08:12 +0100 |
commit | fcfac51aa18bdd81be004e63fb98683e2cc780a0 (patch) | |
tree | 3ea5b8896fc502bdb2d443dd34dc203d9ef06834 /apps/files_sharing/lib/updater.php | |
parent | b0b76fe064860d2074c91897a29e0f9ac5705db8 (diff) | |
download | nextcloud-server-fcfac51aa18bdd81be004e63fb98683e2cc780a0.tar.gz nextcloud-server-fcfac51aa18bdd81be004e63fb98683e2cc780a0.zip |
backport of https://github.com/owncloud/core/pull/5513
Diffstat (limited to 'apps/files_sharing/lib/updater.php')
-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 3381f75f16d..171999ea652 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']); - } } } |