Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-10-28 15:00:16 +0400
committerBjoern Schiessle <schiessle@owncloud.com>2013-10-28 15:00:16 +0400
commitbf657289f5f2d6415babb2cd9f9ba5e8d43a275d (patch)
tree861cffe3c1f8d93bfaa5bd54d27992d79fbecce1 /apps
parentf6e04c9cf90234a769bba852cd7cbdc044ab8cf9 (diff)
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.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 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']);
- }
}
}