aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/updater.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-10-29 15:08:12 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2013-10-29 15:08:12 +0100
commitfcfac51aa18bdd81be004e63fb98683e2cc780a0 (patch)
tree3ea5b8896fc502bdb2d443dd34dc203d9ef06834 /apps/files_sharing/lib/updater.php
parentb0b76fe064860d2074c91897a29e0f9ac5705db8 (diff)
downloadnextcloud-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.php7
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']);
- }
}
}